Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the hexadecimal value of css color

Shulou Source: shulou.com Published: 2022-06-03 02:17:11 10月05日 Update

This article mainly explains "what is the hexadecimal value of css color". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the hexadecimal value of css color".

1. Where possible, use a 3-character hexadecimal representation and always use lowercase hexadecimal numbers.

2. The mixed use of hexadecimal representation and rgb representation should be avoided, and hexadecimal representation should be preferred.

Example

/ * bad * / .mod-example {color: # cccccc; background-color: # efefef;} / * good * / .mod-example {color: # ccc; background-color: # efefef Thank you for your reading, the above is the content of "what is the hexadecimal value of css color". After the study of this article, I believe you have a deeper understanding of what is the hexadecimal value of css color. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Hexadecimal color representation situation learning content binary character example lowercase that is ideas numbers articles more knowledge knowledge points articles follow questions Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Apple Shulou Tech Info Huawei Docker