ae v0.0.3186 (2022-07-03T09:06:15Z)
Home
Dub
Repo
Color.fromHex
ae
utils
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
ae
utils
graphics
color
Color
aliases
ChannelType
Spec
homogenous
functions
opBinary
opCast
opOpAssign
opUnary
sum
toHex
manifest constants
channelBits
channels
homogeneous
mixins
__anonymous
properties
max
min
static functions
blend
fromHex
itpl
monochrome
op
variables
black
white
Construct an RGB color from a typical hex string.