DsPdfJS API - v9.1.0
Preparing search index...
Color
Type Alias Color
Color
:
string
|
number
[]
Represents a color in one of the following formats:
Named colors, such as "SandyBrown", "RebeccaPurple", "aliceblue".
Named colors with transparency, such as "rgba(blueviolet, 50%)", "hsl(Plum / 0.7)".
RGB Hexadecimal, such as "#f09", "#ff0099".
RGBA Hexadecimal, such as "#f093", "#ff009933".
RGB (Red, Green, Blue), such as "rgb(255 10% 153)", "rgb(255 10% 153 / 80%)".
RGBA (Red, Green, Blue, Alpha), such as "rgba(255, 10%, 153)", "rgba(255 10% 153 0.8)".
HSL (Hue, Saturation, Lightness), such as "hsl(30 82% 43%)", "hsl(270 82 43 / 50%)".
HSLA (Hue, Saturation, Lightness, Alpha), such as "hsla(30 82 43%)", "hsla(270 82 43 / 0.5)".
array of RGB integers, such as [0xFF, 0x00, 0x99].
array of RGBA values, such as [255, 0, 153, 0.5].
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
DsPdfJS API - v9.1.0
Loading...
Represents a color in one of the following formats: