grayscale

convert color to grayscale


Parameters

grayscale color :literal :pathliteral :color

Returns

  • :color

Examples

copy
grayscale #red ; => #808080 grayscale #green ; => #404040 grayscale #FF44CC ; => #A2A2A2

Related