2.2 Color 颜色 - Color to HSL 转换为HSL色值

Color to HSL
Convert a color to HSL and alpha values from 0 to 1.
HSL颜色模式 (板栗:H: Hue 色相/S:Saturation 饱和度/L: Lightness 明度)
将颜色转换为HSL颜色并将透明度值从0转换到1.

输入口
Input
The color to convert.
输入要转换的颜色。

输出口
Hue 色相
A number from 0 to 1 representing the hue of the color.
一个0~1之间的值表示颜色的色相。

Saturation 饱和度
A number from 0 to 1 representing the saturation of the color.
一个0~1之间的值表示颜色的饱和度。

Lightness 明度
A number from 0 to 1 representing the lightness of the color.
一个0~1之间的值表示颜色的明度。

Alpha 透明度
A number from 0 to 1 representing the opacity of the color.
一个0~1之间的值表示颜色的透明度。


Related Patches 相似模块

Color to Hex
Color to RGB
Color to HSL
HSL ColorHex ColorRGB Color


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容