API DocumentationFunctionsgrayscaleOn this pageFunction: grayscale() grayscale(color): Color Converts a color to grayscale. Parameters ParameterTypeDescriptioncolorColorThe color to convert. Returns Color A new Color instance in grayscale. Defined in manipulation/components/grayscale.ts:8