Bright/intense color variants for both foreground and background colors. These provide more vivid and intense color variations compared to standard ANSI colors.
Apply bright/intense foreground colors to text.
/**
* Apply bright black (dark gray) foreground color to text
* @param text - The text to style
* @returns Styled text with bright ANSI escape codes
*/
function blackBright(text: string): string;
/**
* Apply bright red foreground color to text
* @param text - The text to style
* @returns Styled text with bright ANSI escape codes
*/
function redBright(text: string): string;
/**
* Apply bright green foreground color to text
* @param text - The text to style
* @returns Styled text with bright ANSI escape codes
*/
function greenBright(text: string): string;
/**
* Apply bright yellow foreground color to text
* @param text - The text to style
* @returns Styled text with bright ANSI escape codes
*/
function yellowBright(text: string): string;
/**
* Apply bright blue foreground color to text
* @param text - The text to style
* @returns Styled text with bright ANSI escape codes
*/
function blueBright(text: string): string;
/**
* Apply bright magenta foreground color to text
* @param text - The text to style
* @returns Styled text with bright ANSI escape codes
*/
function magentaBright(text: string): string;
/**
* Apply bright cyan foreground color to text
* @param text - The text to style
* @returns Styled text with bright ANSI escape codes
*/
function cyanBright(text: string): string;
/**
* Apply bright white foreground color to text
* @param text - The text to style
* @returns Styled text with bright ANSI escape codes
*/
function whiteBright(text: string): string;Apply bright/intense background colors to text.
/**
* Apply bright black (dark gray) background color to text
* @param text - The text to style
* @returns Styled text with bright background ANSI escape codes
*/
function bgBlackBright(text: string): string;
/**
* Apply bright red background color to text
* @param text - The text to style
* @returns Styled text with bright background ANSI escape codes
*/
function bgRedBright(text: string): string;
/**
* Apply bright green background color to text
* @param text - The text to style
* @returns Styled text with bright background ANSI escape codes
*/
function bgGreenBright(text: string): string;
/**
* Apply bright yellow background color to text
* @param text - The text to style
* @returns Styled text with bright background ANSI escape codes
*/
function bgYellowBright(text: string): string;
/**
* Apply bright blue background color to text
* @param text - The text to style
* @returns Styled text with bright background ANSI escape codes
*/
function bgBlueBright(text: string): string;
/**
* Apply bright magenta background color to text
* @param text - The text to style
* @returns Styled text with bright background ANSI escape codes
*/
function bgMagentaBright(text: string): string;
/**
* Apply bright cyan background color to text
* @param text - The text to style
* @returns Styled text with bright background ANSI escape codes
*/
function bgCyanBright(text: string): string;
/**
* Apply bright white background color to text
* @param text - The text to style
* @returns Styled text with bright background ANSI escape codes
*/
function bgWhiteBright(text: string): string;Usage Examples:
const colors = require('ansi-colors');
// Bright foreground colors
console.log(colors.redBright('Bright red text'));
console.log(colors.greenBright('Bright green success'));
console.log(colors.blueBright('Bright blue information'));
// Bright background colors
console.log(colors.bgRedBright('Text on bright red background'));
console.log(colors.bgGreenBright('Text on bright green background'));
// Combining bright colors with regular text colors
console.log(colors.white.bgRedBright('White text on bright red'));
console.log(colors.black.bgYellowBright('Black text on bright yellow'));
// Mixing bright and standard colors
console.log(colors.redBright.bgBlue('Bright red text on standard blue'));
console.log(colors.green.bgCyanBright('Standard green on bright cyan'));
// Bright colors with modifiers
console.log(colors.bold.redBright('Bold bright red'));
console.log(colors.underline.blueBright('Underlined bright blue'));
// Complex combinations
console.log(colors.bold.whiteBright.bgBlackBright('Bold bright white on bright black'));