tida ~master (2021-10-06T18:27:09Z)
Home
Dub
Repo
rgb
tida
color
Creates an RGB color.
Color
!
ubyte
rgb
(ubyte red, ubyte green, ubyte blue)
@
safe
nothrow pure
Color
!ubyte
rgb
(
ubyte
red
,
ubyte
green
,
ubyte
blue
)
Color
!
ubyte
rgb
(ubyte[] data)
Parameters
red
ubyte
Red.
green
ubyte
Green.
blue
ubyte
Blue.
Return Value
Type:
Color
!ubyte
RGBA
Meta
Source
See Implementation
tida
color
aliases
BlendAdd
BlendAddAlpha
BlendAddMul
BlendAlpha
BlendMultiply
BlendSrc2DST
FuncBlend
mix
enums
BlendFactor
PixelFormat
functions
BlendFunc
BlendImpl
convert
fromColor
fromColors
fromFormat
hexTo
parseColor
rgb
rgba
validateBytes
manifest constants
CannotDetectAuto
structs
Color
templates
bytesPerColor
isColor
isValidFormat
Creates an RGB color.