Color codes can be done a number of ways. One way is with hexcodes, and another is with safe names.
Safe names are defined by the W3 organization and browsers can recognize them and produce the color desired.
These are referred to as SVG colors
Back to the Top
Colors are defined using a hexadecimal notation for the combination of Red, Green, and Blue color values (RGB). The lowest value that can be given to one light source is 0 (hex #00). The highest value is 255 (hex #FF).Some more basic colors are shown below in their hex codes
Basic HTML Colors |
||||
|---|---|---|---|---|
| Color Name | Hex Code | Appearance | ||
| Black | #000000 | |||
| Red | #FF0000 | |||
| Orange | #FF8000 | |||
| Yellow | #FFFF00 | |||
| Green | #00FF00 | |||
| Blue | #0000FF | |||
| Purple (Violet) | #9B30FF | |||
| White | #FFFFFF | |||
Color Names |
||||
|---|---|---|---|---|
| Color Name | Hex Code | Appearance | ||
| Chocolate | #D2691E | |||
| Deep Pink | #FF1493 | |||
| Forest Green | #228B22 | |||
| Gold | #FFD700 | |||
| Silver | #C0C0C0 | |||