The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
unalpha
arsd
color
@
safe
nothrow pure @
safe
@
nogc
ubyte
unalpha
(
ubyte
colorYouHave
,
float
alpha
,
ubyte
backgroundColor
)
Meta
Source
See Implementation
arsd
color
classes
IndexedImage
TrueColorImage
functions
alphaBlend
colorFromString
darken
desaturate
extremify
findNearestColor
floodFill
floydSteinbergDither
fromHsl
fromOklab
lighten
linearOffset
makeAlpha
makeTextColor
moderate
oppositeLightness
quantize
rotateHue
saturate
setHue
setSaturation
srgbToLinearRgb
toHsl
toOklab
unalpha
interfaces
MemoryImage
structs
Angle
Color
ColorF
Lab
Point
Rectangle
Size