Shades of Midnight Blue #20125F
Tints of Midnight Blue #20125F
RGB
CMYK
RGB Variations
Color information
#20125F (or 0x20125F) is known color: Midnight Blue. HEX triplet: 20, 12 and 5F. RGB value is (32,18,95). Sum of RGB (Red+Green+Blue) = 32+18+95=145 (19% of max value = 765). Red value is 32 (12.89% from 255 or 22.07% from 145); Green value is 18 (7.42% from 255 or 12.41% from 145); Blue value is 95 (37.5% from 255 or 65.52% from 145); Max value from RGB is 95 - color contains mainly: blue. Hex color #20125F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20125F is #DFEDA0. Grayscale: #1E1E1E. Windows color (decimal): -14675361 or 6230560. OLE color: 6230560.
HSL color Cylindrical-coordinate representation of color #20125F: hue angle of 250.91º degrees, saturation: 0.68, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #20125F is Cyan = 0.66, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 32 | 18 | 95 | - |
| CMYK | 0.66 | 0.81 | 0 | 0.63 |
| HSL | 250.91º | 0.68% | 0.22% | - |
| HSV(B) | 250.91º | 0.81% | 0.37% | - |
| XYZ | 2.88 | 1.57 | 10.98 | - |
| YUV | 30.96 | 164.14 | 128.74 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 18 | 95 | 0.66 | 0.81 | 0 | 0.63 | 250.91 | 0.68 | 0.22 |
| Hex | 20 | 12 | 5F | 42 | 51 | 0 | 3F | FB | 44 | 16 |
| Octal | 40 | 22 | 137 | 102 | 121 | 0 | 77 | 373 | 104 | 26 |
| Binary | 100000 | 10010 | 1011111 | 1000010 | 1010001 | 0 | 111111 | 11111011 | 1000100 | 10110 |
Color Harmonies of #20125F
Complementary color
Monochromatic Colors of #20125F
Black with #20125F
Text Example
Text Example
White with #20125F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20125F; }
p { color: rgb(32,18,95); }
H1.HeaderClassName
{
color: #20125F;
}
.AnyTagClassName
{
color: #20125F;
}
</style>
background-color css
<style>
a { background-color: #20125F; }
a { background-color: rgb(32,18,95); }
div.DivClassName
{
background-color: #20125F;
}
.BgClassName
{
background-color: #20125F;
}
</style>
border-color css
<style>
span { border-color: #20125F; }
span { border-color: rgb(32,18,95); }
td.TdClassName
{
border-color: #20125F;
}
.TagClassName
{
border-color: #20125F;
}
</style>