The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
Color.this
arsd
color
Color
Constructs a color from a
ColorF
(floating-point)
this
(int red, int green, int blue, int alpha)
this
(ubyte[] components)
this
(float r, float g, float b, float a)
this
(ColorF colorF)
struct
Color
@
safe
nothrow pure @
nogc
this
(
const
ColorF
colorF
)
Meta
History
Added December 20, 2023
arsd
color
Color
constructors
this
enums
ColorBlendMixinStr
functions
alphaBlend
asWindowsColorRef
toBW
toCssString
toRgbaHexString
toString
static functions
black
blue
brown
fromHsl
fromIntegers
fromNameString
fromString
fromWindowsColorRef
gray
green
magenta
purple
red
teal
transparent
white
yellow
unions
__anonymous
Suggestion Box / Bug Report
Constructs a color from a ColorF (floating-point)