Learn About Color Name in HTML5

Introduction

Today you will learn about color names in HTML5.

You can define 147 color names and hexadecimal values also, in HTML and CSS, out of which 17 colors are standard colors.

Tip. The 17 standard colors are aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, orange, purple, red, silver, teal, white, and yellow.

All browsers support these 147 colors.

Browser Support

Most browsers that are available today.

You can see all 147 colors in the following list.

Browser Support

Color name

Hax

List

147 Colors

Yellow

Basic Example

<!DOCTYPE html>
<html>
<head>
    <title>color name</title>
    <style>
        
    </style>
</head>
<body bgcolor="BlueViolet">
</body>
</html>

Output