Shades of Midnight #122D4F
Tints of Midnight #122D4F
RGB
CMYK
RGB Variations
Color information
#122D4F (or 0x122D4F) is known color: Midnight. HEX triplet: 12, 2D and 4F. RGB value is (18,45,79). Sum of RGB (Red+Green+Blue) = 18+45+79=142 (18% of max value = 765). Red value is 18 (7.42% from 255 or 12.68% from 142); Green value is 45 (17.97% from 255 or 31.69% from 142); Blue value is 79 (31.25% from 255 or 55.63% from 142); Max value from RGB is 79 - color contains mainly: blue. Hex color #122D4F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #122D4F is #EDD2B0. Grayscale: #282828. Windows color (decimal): -15585969 or 5188882. OLE color: 5188882.
HSL color Cylindrical-coordinate representation of color #122D4F: hue angle of 213.44º degrees, saturation: 0.63, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #122D4F is Cyan = 0.77, Magento = 0.43, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 18 | 45 | 79 | - |
| CMYK | 0.77 | 0.43 | 0 | 0.69 |
| HSL | 213.44º | 0.63% | 0.19% | - |
| HSV(B) | 213.44º | 0.77% | 0.31% | - |
| XYZ | 2.6 | 2.57 | 7.76 | - |
| YUV | 40.8 | 149.55 | 111.74 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 45 | 79 | 0.77 | 0.43 | 0 | 0.69 | 213.44 | 0.63 | 0.19 |
| Hex | 12 | 2D | 4F | 4D | 2B | 0 | 45 | D5 | 3F | 13 |
| Octal | 22 | 55 | 117 | 115 | 53 | 0 | 105 | 325 | 77 | 23 |
| Binary | 10010 | 101101 | 1001111 | 1001101 | 101011 | 0 | 1000101 | 11010101 | 111111 | 10011 |
Color Harmonies of #122D4F
Complementary color
Monochromatic Colors of #122D4F
Black with #122D4F
Text Example
Text Example
White with #122D4F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #122D4F; }
p { color: rgb(18,45,79); }
H1.HeaderClassName
{
color: #122D4F;
}
.AnyTagClassName
{
color: #122D4F;
}
</style>
background-color css
<style>
a { background-color: #122D4F; }
a { background-color: rgb(18,45,79); }
div.DivClassName
{
background-color: #122D4F;
}
.BgClassName
{
background-color: #122D4F;
}
</style>
border-color css
<style>
span { border-color: #122D4F; }
span { border-color: rgb(18,45,79); }
td.TdClassName
{
border-color: #122D4F;
}
.TagClassName
{
border-color: #122D4F;
}
</style>