HTML number values ​​of various common colors (collection)

PHPz
Release: 2017-04-03 16:42:05
Original
3631 people have browsed it

In HTML, a color can be represented by a color name, RGB value, or HEX value.

RGB
rgb (red, green, blue) three variables are the concentrations of the three primary colors (0~255)
For example, rgb(255,0,0) red
                              rgb (0,0,0) black
rgb (255,255,255) white
HTML number values ​​of various common colors (collection)
HTML number values ​​of various common colors (collection)

HEX
hexadecimal represents a hexadecimal number
Decimal: 0~255 Convert hexadecimal: 00~ FF
HTML number values ​​of various common colors (collection)
HTML number values ​​of various common colors (collection)

The above is the detailed content of HTML number values ​​of various common colors (collection). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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!