Glubase - share your knowledge


All / Computers / Programming / CSS





  • View Command

CSS Reference

CSS color definition

Browser support
IEFFOpSaf

Type:

Syntax

color: <color>;

Description

Values

Value Description

Transparent

Default value. Makes the background color transparent.

RGB color value

Example: rgb(0,255,0)

Hexadecimal color keyword

Example: #FF0000

CSS color keyword

Example: red

 

Example

[Try this example yourself]
test

Output

test
  • Comments

No comments added.