color.saturate(amount)
Increase the saturation of a color.
译:增加颜色的饱和度。
Arguments(参数)
amount — A number, from 0 to 100. Set to 10 by default.
译:量 —— 一个数字,从0到100。默认设置为10。
# Create a new Color, saturate it
blue = new Color("#877DD7").saturate(100)
layerA = new Layer
backgroundColor: blue