Shades of Midnight #122A4F
Tints of Midnight #122A4F
RGB
CMYK
RGB Variations
Color information
#122A4F (or 0x122A4F) is known color: Midnight. HEX triplet: 12, 2A and 4F. RGB value is (18,42,79). Sum of RGB (Red+Green+Blue) = 18+42+79=139 (18% of max value = 765). Red value is 18 (7.42% from 255 or 12.95% from 139); Green value is 42 (16.80% from 255 or 30.22% from 139); Blue value is 79 (31.25% from 255 or 56.83% from 139); Max value from RGB is 79 - color contains mainly: blue. Hex color #122A4F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #122A4F is #EDD5B0. Grayscale: #262626. Windows color (decimal): -15586737 or 5188114. OLE color: 5188114.
HSL color Cylindrical-coordinate representation of color #122A4F: hue angle of 216.39º 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 #122A4F is Cyan = 0.77, Magento = 0.47, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 18 | 42 | 79 | - |
| CMYK | 0.77 | 0.47 | 0 | 0.69 |
| HSL | 216.39º | 0.63% | 0.19% | - |
| HSV(B) | 216.39º | 0.77% | 0.31% | - |
| XYZ | 2.49 | 2.35 | 7.72 | - |
| YUV | 39.04 | 150.55 | 112.99 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 42 | 79 | 0.77 | 0.47 | 0 | 0.69 | 216.39 | 0.63 | 0.19 |
| Hex | 12 | 2A | 4F | 4D | 2F | 0 | 45 | D8 | 3F | 13 |
| Octal | 22 | 52 | 117 | 115 | 57 | 0 | 105 | 330 | 77 | 23 |
| Binary | 10010 | 101010 | 1001111 | 1001101 | 101111 | 0 | 1000101 | 11011000 | 111111 | 10011 |
Color Harmonies of #122A4F
Complementary color
Monochromatic Colors of #122A4F
Black with #122A4F
Text Example
Text Example
White with #122A4F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #122A4F; }
p { color: rgb(18,42,79); }
H1.HeaderClassName
{
color: #122A4F;
}
.AnyTagClassName
{
color: #122A4F;
}
</style>
background-color css
<style>
a { background-color: #122A4F; }
a { background-color: rgb(18,42,79); }
div.DivClassName
{
background-color: #122A4F;
}
.BgClassName
{
background-color: #122A4F;
}
</style>
border-color css
<style>
span { border-color: #122A4F; }
span { border-color: rgb(18,42,79); }
td.TdClassName
{
border-color: #122A4F;
}
.TagClassName
{
border-color: #122A4F;
}
</style>