Shades of Midnight Blue #20126D
Tints of Midnight Blue #20126D
RGB
CMYK
RGB Variations
Color information
#20126D (or 0x20126D) is known color: Midnight Blue. HEX triplet: 20, 12 and 6D. RGB value is (32,18,109). Sum of RGB (Red+Green+Blue) = 32+18+109=159 (21% of max value = 765). Red value is 32 (12.89% from 255 or 20.13% from 159); Green value is 18 (7.42% from 255 or 11.32% from 159); Blue value is 109 (42.97% from 255 or 68.55% from 159); Max value from RGB is 109 - color contains mainly: blue. Hex color #20126D is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20126D is #DFED92. Grayscale: #202020. Windows color (decimal): -14675347 or 7148064. OLE color: 7148064.
HSL color Cylindrical-coordinate representation of color #20126D: hue angle of 249.23º degrees, saturation: 0.72, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #20126D is Cyan = 0.71, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 32 | 18 | 109 | - |
| CMYK | 0.71 | 0.83 | 0 | 0.57 |
| HSL | 249.23º | 0.72% | 0.25% | - |
| HSV(B) | 249.23º | 0.83% | 0.43% | - |
| XYZ | 3.57 | 1.84 | 14.64 | - |
| YUV | 32.56 | 171.14 | 127.6 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 18 | 109 | 0.71 | 0.83 | 0 | 0.57 | 249.23 | 0.72 | 0.25 |
| Hex | 20 | 12 | 6D | 47 | 53 | 0 | 39 | F9 | 48 | 19 |
| Octal | 40 | 22 | 155 | 107 | 123 | 0 | 71 | 371 | 110 | 31 |
| Binary | 100000 | 10010 | 1101101 | 1000111 | 1010011 | 0 | 111001 | 11111001 | 1001000 | 11001 |
Color Harmonies of #20126D
Complementary color
Monochromatic Colors of #20126D
Black with #20126D
Text Example
Text Example
White with #20126D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20126D; }
p { color: rgb(32,18,109); }
H1.HeaderClassName
{
color: #20126D;
}
.AnyTagClassName
{
color: #20126D;
}
</style>
background-color css
<style>
a { background-color: #20126D; }
a { background-color: rgb(32,18,109); }
div.DivClassName
{
background-color: #20126D;
}
.BgClassName
{
background-color: #20126D;
}
</style>
border-color css
<style>
span { border-color: #20126D; }
span { border-color: rgb(32,18,109); }
td.TdClassName
{
border-color: #20126D;
}
.TagClassName
{
border-color: #20126D;
}
</style>