ImageColor
class ImageColor
Represent RGB color (0..255) with opacity (0..1).
Methods
static ImageColor
rgb(int $red, int $green, int $blue, float $opacity = 1)
No description
static ImageColor
hex(string $hex)
Accepts formats #RRGGBB, #RRGGBBAA, #RGB, #RGBA
array
toRGBA()
No description
Details
at line 20
static ImageColor
rgb(int $red, int $green, int $blue, float $opacity = 1)
No description
at line 29
static ImageColor
hex(string $hex)
Accepts formats #RRGGBB, #RRGGBBAA, #RGB, #RGBA
at line 66
array
toRGBA()
No description