The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Color.fromNameString
arsd
color
Color
Gets a color by name, iff the name is one of the static members listed above
struct
Color
@
safe
static
Color
fromNameString
(
string
s
)
Meta
Source
See Implementation
arsd
color
Color
constructors
this
enums
ColorBlendMixinStr
functions
alphaBlend
asUint
asWindowsColorRef
opCast
toBW
toCssString
toRgbaHexString
toString
static functions
black
blue
brown
fromHsl
fromIntegers
fromNameString
fromString
fromWindowsColorRef
gray
green
magenta
purple
red
teal
transparent
white
yellow
variables
components
Gets a color by name, iff the name is one of the static members listed above