lighten

lighten color by given percentage (0.0-1.0)


Parameters

lighten color :literal :pathliteral :color
        percent :floating

Returns

  • :color

Examples

copy
print #lightblue ; #ADD8E6 lighten #lightblue 0.2 ; => #D0FFFF lighten #lightblue 0.5 ; => #FFFFFF lighten #9944CC 0.3 ; => #C758FF

Related