ae v0.0.2824 (2020-10-12T01:09:09Z)
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
functions
opBinary
opCast
opOpAssign
opUnary
sum
toHex
manifest constants
channelBits
channels
homogenous
mixins
__anonymous
properties
max
min
static functions
blend
fromHex
itpl
monochrome
op
variables
black
white
Construct an RGB color from a typical hex string.