hex value color picker code example
Example 1: rgb purple color
(128,0,128) Hex #800080
Example 2: hex color picker
For anyone wondering, hex color is just in base 16. So 255 (max color) is FF.
The 6 long string of characters is just the Red Green and Blue channels (RRGGBB).
Which means you shouldn't have to look it up unless you're going for an exact color.
Hex numbers: 0 1 2 3 4 5 6 7 8 9 A B C D E F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21.. etc.
Example 3: html color codes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Lists Page</title>
<style>
body {
background-color: black;
text-shadow: 0px 0px 10px blue;
font-family: Trebuchet MS;
font-size: 20px;
}
h1 {
color: white;
}
p {
color:rgb(255, 230, 8);
text-shadow: 0px 1px 30px blue;
}
h2 {
color:white;
font-size: 30px;
}
ul {
list-style-type: circle;
color:rgb(255, 0, 98);
text-shadow: 0px 0px 5px blue;
}
ol {
color:rgb(250, 105, 259);
line-height: 30px;
}
h4 {
color: rgb(0, 255, 55);
}
</style>
</html>