Skip to content

[css] 第636天 在Less中的颜色通道功能是什么? #3424

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

第636天 在Less中的颜色通道功能是什么?

3+1官网

我也要出题

Activity

xujs0813

xujs0813 commented on Jan 11, 2021

@xujs0813

本人没有在 less 中使用过颜色通道功能,但是在此处可以总结下查到的关于颜色通道的定义:

每个图像都有一个或多个颜色通道,每个颜色通道保存着其对应的颜色信息。
图像中默认的颜色通道数取决于其颜色模式。例如,CMYK图像默认有4个通道,分别为青色、洋红、黄色、黑色。在默认情况下,位图模式、灰度、双色调和索引颜色图像只有一个通道。RGB和Lab图像有3个通道,CMYK图像有4个通道。

以GRB颜色模式为例,一副RGB色彩图中的每个像素点都是红,绿,蓝三种颜色通过不同比例混合而成,而颜色通道就保存着对应的颜色信息。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @haizhilin2013@xujs0813

        Issue actions

          [css] 第636天 在Less中的颜色通道功能是什么? · Issue #3424 · haizlin/fe-interview