Web Color Design

Color is an esentialal element in web design. Even with a little deisign with color, out simple website can look more beautiful
Color can be applied to text, background and border.
When we geve a HTML componet a color, we can define the RGB, and and or just simply use the color names, like blue, yellow and red.

CSS Color with A Name

We can use the name of the color to style the text or the background,
<div style="color: red;">red</div>
red
<div style="background-color: orange;">red</div>
red

Here Is A Table of Some of the Colors With Names

Color Name Text Backdound Color
azure azure azure
aquamarine aquamarine aquamarine
aquamarine aquamarine aquamarine
aqua aqua aqua
aliceblue aliceblue aliceblue
antiquewhite antiquewhite antiquewhite
darkred darkred darkred
red red red
orange orange orange
red green green
red lightgreen lightgreen
white white white grey grey grey lightgrey lightgrey lightgrey purple purple purple yellow yellow yellow lightyellow lightyellow lightyellow blue blue blue lightblue lightblue lightblue pink pink pink lightpink lightpink lightpink

Comments

Popular posts from this blog

How to Make A Reusable Image Slideshow HTML Component With Vanilla JavaScript

HTML Tags and Inline CSS that Work In Plotly.js Title

How to Type Spaces In HTML Input And Display In the Browser