Function rgb24
- rgb24(str, color): string
Parameters
- str: string
The text color to apply 24bit rgb to
- color: number | Rgb
The color code
Returns string
The text with 24bit rgb color
- str: string
The text color to apply 24bit rgb to
The color code
The text with 24bit rgb color
Set text color using 24bit rgb.
colorcan be a number in range0x000000to0xffffffor anRgb.