颜色搭配及颜色科学

栏目: ASP.NET · 发布时间: 6年前

内容简介:试妆颜色搭配1.如此丰富的红色系颜色2.让人舒服和十种颜色

试妆颜色搭配

1.如此丰富的红色系颜色

public static String[] ColorNames={"粉红","桃红", "海棠红", "樱桃红", "酡颜", "银红", "朱砂",
        "火红","朱膘", "妃色", "洋红", "品红", "丹", "彤",
        "酡红","炎", "茜色", "绾", "大红", "石榴红", "绛紫",
        "绯红","胭脂", "朱红", "檀", "嫣红", "洋红", "枣红",
        "殷红","赫赤", "银朱", "赤", "栗色", "玄色", "",
};
public static int[] Colors={0xffb3a7,0xf47983,0xdb5a6b,0xc93756,0xf9906f,0xf05654,0xff461f,
        0xff2d51, 0xf36838,0xed5736,0xff4777,0xf00056,0xff4e20,0xff35336,
        0xdc3023,0xff3300,0xcb3a56,0xa98175,0xff2121,0xf20c00,0x8c4356,
        0xc83c23,0x9d2933,0xff4c00,0xb36d61,0xef7a82,0xff0097,0xc32136,
        0xbe002f,0xc91f37,0xbf242a,0xc3272b,0x60281e,0x622aed

};

2.让人舒服和十种颜色

public static int[] shiSe = {0x19c00d, 0x8cc7b5, 0xa0eee1,0xbee7e9, 0xbeedc7,0xd6d5b7,0xd1ba74, 0xe6ceac,0xecad9e, 0xf4606c};

https://blog.csdn.net/q516620911/article/details/78512202

3十二种常见颜色

http://huaban.com/pins/1190989695

4最好的颜色搭配

https://blog.csdn.net/wills798/article/details/80744497

5常用颜色对照

https://blog.csdn.net/wjky2014/article/details/48878481

6在线颜色

https://www.fontke.com/tool/pickrgb/

7RGBA转RGB

带有A通道的图片解码之后得到额数据是 RGBA,如果直接将A通道的数据舍去,将会使写出的图像失真。可以采用如下方法进行转换;

1.将 R,-G-B-A数据归一化, 记为:Source.R, Source.G, Source.B, Source.A (记的用浮点型啊)

2..提供一个背景色,但同时也应归一化;比如白色背景BGcolur = 1;或者黑色背景 BGcolur =0;

3.目标数据RGB:

Target.R = BGcolur *(1-Source.A ) + Source.R*Source.A ;

Target.G = BGcolur *(1-Source.A ) + Source.G*Source.A ;

Target.B = BGcolur *(1-Source.A ) + Source.B*Source.A ;

3.最后将Target.R,Target.G,Target.B再乘以255


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Spring Into HTML and CSS

Spring Into HTML and CSS

Molly E. Holzschlag / Addison-Wesley Professional / 2005-5-2 / USD 34.99

The fastest route to true HTML/CSS mastery! Need to build a web site? Or update one? Or just create some effective new web content? Maybe you just need to update your skills, do the job better. Welco......一起来看看 《Spring Into HTML and CSS》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具