Shades of Midnight Blue #20126C
Tints of Midnight Blue #20126C
RGB
CMYK
RGB Variations
Color information
#20126C (or 0x20126C) is known color: Midnight Blue. HEX triplet: 20, 12 and 6C. RGB value is (32,18,108). Sum of RGB (Red+Green+Blue) = 32+18+108=158 (20% of max value = 765). Red value is 32 (12.89% from 255 or 20.25% from 158); Green value is 18 (7.42% from 255 or 11.39% from 158); Blue value is 108 (42.58% from 255 or 68.35% from 158); Max value from RGB is 108 - color contains mainly: blue. Hex color #20126C is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20126C is #DFED93. Grayscale: #202020. Windows color (decimal): -14675348 or 7082528. OLE color: 7082528.
HSL color Cylindrical-coordinate representation of color #20126C: hue angle of 249.33º degrees, saturation: 0.71, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #20126C is Cyan = 0.70, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 32 | 18 | 108 | - |
| CMYK | 0.70 | 0.83 | 0 | 0.58 |
| HSL | 249.33º | 0.71% | 0.25% | - |
| HSV(B) | 249.33º | 0.83% | 0.42% | - |
| XYZ | 3.52 | 1.82 | 14.35 | - |
| YUV | 32.45 | 170.64 | 127.68 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 18 | 108 | 0.70 | 0.83 | 0 | 0.58 | 249.33 | 0.71 | 0.25 |
| Hex | 20 | 12 | 6C | 46 | 53 | 0 | 3A | F9 | 47 | 19 |
| Octal | 40 | 22 | 154 | 106 | 123 | 0 | 72 | 371 | 107 | 31 |
| Binary | 100000 | 10010 | 1101100 | 1000110 | 1010011 | 0 | 111010 | 11111001 | 1000111 | 11001 |
Color Harmonies of #20126C
Complementary color
Monochromatic Colors of #20126C
Black with #20126C
Text Example
Text Example
White with #20126C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20126C; }
p { color: rgb(32,18,108); }
H1.HeaderClassName
{
color: #20126C;
}
.AnyTagClassName
{
color: #20126C;
}
</style>
background-color css
<style>
a { background-color: #20126C; }
a { background-color: rgb(32,18,108); }
div.DivClassName
{
background-color: #20126C;
}
.BgClassName
{
background-color: #20126C;
}
</style>
border-color css
<style>
span { border-color: #20126C; }
span { border-color: rgb(32,18,108); }
td.TdClassName
{
border-color: #20126C;
}
.TagClassName
{
border-color: #20126C;
}
</style>