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

WBOY
Release: 2016-05-20 13:46:49
Original
1681 people have browsed it

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!