试妆颜色搭配
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/
扫描二维码关注公众号,回复:
4729981 查看本文章
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