Home  >  Article  >  Web Front-end  >  HTML之学习笔记(二)颜色体系 - 李锦成

HTML之学习笔记(二)颜色体系 - 李锦成

WBOY
WBOYOriginal
2016-05-20 13:46:491603browse

  html页面的颜色表示法有三种:英文表示16进制表示10进制表示。颜色通过三原色即红、绿、蓝三种按比例混合而成,如红色的10进制表示为255,0,0,即按照红色.绿色.蓝色的格式,权值取0~255,255为最大,0为最小。最常用的位16进制表示法,通过2位16进制来表示3位10进制,具体表示为#ff0000,不要忘记#号,可能因为浏览器的不同导致偏差, 所以最好加上#号。可用相关屏幕取色软件获取颜色的值。
    附上颜色表:

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