Home  >  Article  >  Web Front-end  >  网页颜色间的色差计算_html/css_WEB-ITnose

网页颜色间的色差计算_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 08:55:371477browse

网页中css指定颜色用的表示方法(如#FF0000)是不是HEX颜色还是RGB颜色?
如何计算两种这样表示的颜色间的色差呢?有公式吗?有软件吗?或者在线计算的也行。


回复讨论(解决方案)

http://www.cnblogs.com/qiongmiaoer/p/4566083.html

css的表示方法 和RGB颜色 有点不同,但其本质都是RGB颜色。
RGB之间的差异,和人眼感受到的差异,完全不同,就是说RGB值相差很小,但人看到的颜色可以相差很大,反过来也成立。

要区分颜色之间的差异,需要其他的颜色格式,楼主可以看看yuv颜色格式,颜色之间的差异,可以通过它来计算。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn