ae v0.0.3141 (2022-02-14T00:51:10Z)
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.