import { wrapAnsiBg } from './_internal/wrapAnsiBg.ts';

/**
 * Bright black (gray) background. Wraps text with ANSI codes.
 *
 * @param text - The text to style.
 * @returns The styled text.
 *
 * @example
 * import { colors } from 'es-toolkit/server';
 *
 * console.log(colors.bgBlackBright('hello'));
 */
export function bgBlackBright(text: string): string {
  return wrapAnsiBg('\x1b[100m', '\x1b[49m', text);
}
