saturate

saturate color by given percentage (0.0-1.0)


Parameters

saturate color :literal :pathliteral :color
         percent :floating

Returns

  • :color

Examples

copy
print #lightblue ; #ADD8E6 saturate #lightblue 0.2 ; => #A7DBEC saturate #lightblue 0.5 ; => #9FDFF4 saturate #9944CC 0.3 ; => #A030E0

Related