ae ~sd (2021-12-20T16:35:43.7627576)
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.