BuiltIn
in package
Table of Contents
Constants
- BUILTIN_COLOR_MAP = [ 0x0 => '000000', 0x1 => 'FFFFFF', 0x2 => 'FF0000', 0x3 => '00FF00', 0x4 => '0000FF', 0x5 => 'FFFF00', 0x6 => 'FF00FF', 0x7 => '00FFFF', 0x40 => '000000', // system window text color 0x41 => 'FFFFFF', ]
Methods
- lookup() : array<string|int, mixed>
- Map built-in color to RGB value.
Constants
BUILTIN_COLOR_MAP
private
mixed
BUILTIN_COLOR_MAP
= [
0x0 => '000000',
0x1 => 'FFFFFF',
0x2 => 'FF0000',
0x3 => '00FF00',
0x4 => '0000FF',
0x5 => 'FFFF00',
0x6 => 'FF00FF',
0x7 => '00FFFF',
0x40 => '000000',
// system window text color
0x41 => 'FFFFFF',
]
Methods
lookup()
Map built-in color to RGB value.
public
static lookup(int $color) : array<string|int, mixed>
Parameters
- $color : int
-
Indexed color