dplug ~master (2024-09-30T22:25:31Z)
Home
Dub
Repo
Color.fromHex
dplug
graphics
color
Color
Construct an RGB color from a typical hex string.
struct
Color
(FieldTuple...)
static
static if
(
is(typeof(this.r) == ubyte) && is(typeof(this.g) == ubyte) && is(typeof(this.b) == ubyte)
)
typeof
(this)
fromHex
(
in
char
[]
s
)
Meta
Source
See Implementation
dplug
graphics
color
Color
aliases
ChannelType
Spec
functions
opBinary
opCast
opOpAssign
opUnary
sum
toHex
manifest constants
channelBits
channels
homogenous
mixins
__anonymous
static functions
fromHex
itpl
monochrome
op
Construct an RGB color from a typical hex string.