The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
setSaturation
arsd
color
@
safe
nothrow pure @
safe
@
nogc
Color
setSaturation
(
Color
c
,
double
saturation
)
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