ae v0.0.3053 (2021-06-01T17:26:23Z)
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.