Novis\Image\Color
A colour: red, green and blue from 0 to 255, and alpha from 0.0 (transparent) to 1.0 (opaque).
Members
2 members.
| Member | Signature |
|---|---|
rgba | rgba(uint $r, uint $g, uint $b, float $alpha = 1.0): Color |
hex | hex(string $hex): Color |
Properties
$color->ruintthe red channel, from 0 to 255$color->guintthe green channel, from 0 to 255$color->buintthe blue channel, from 0 to 255$color->alphafloatthe alpha, from 0.0 (transparent) to 1.0 (opaque)
