class HexaPDF:: Content:: ColorSpace:: DeviceRGB:: Color
Parent | Object |
---|---|
Included Modules |
HexaPDF::Content::ColorSpace::ColorUtils |
A color in the DeviceRGB
color space.
See: PDF2.0 s8.6.4.3
Public Class Methods
Initializes the color with the r
(red), g
(green) and b
(blue) components.
Each argument has to be a float between 0.0 and 1.0.
Public Instance Methods
Returns the RGB color as an array of normalized color values.