tida ~master (2021-10-06T18:27:09Z)
Home
Dub
Repo
Color.this
tida
color
Color
Parses a color from the input.
this
(T red, T green, T blue, T alpha)
this
(R value)
struct
Color
(T)
@
safe
nothrow pure
this
(
R
)
(
R
value
)
if
(
isIntegral
!
R
||
isSomeString
!
R
||
isArray
!
R
)
if
(
isIntegral
!
T
||
isFloatingPoint
!
T
)
Meta
Source
See Implementation
tida
color
Color
aliases
Type
a
b
g
r
constructors
this
functions
isDark
isLight
opAssign
opBinary
to
toBytes
toGrayscale
toGrayscaleFloat
toGrayscaleNumber
manifest constants
Max
Min
properties
af
bf
gf
invertAlpha
inverted
rf
variables
alpha
blue
green
red
Parses a color from the input.