Shades of Midnight #122A4E
Tints of Midnight #122A4E
RGB
CMYK
RGB Variations
Color information
#122A4E (or 0x122A4E) is known color: Midnight. HEX triplet: 12, 2A and 4E. RGB value is (18,42,78). Sum of RGB (Red+Green+Blue) = 18+42+78=138 (18% of max value = 765). Red value is 18 (7.42% from 255 or 13.04% from 138); Green value is 42 (16.80% from 255 or 30.43% from 138); Blue value is 78 (30.86% from 255 or 56.52% from 138); Max value from RGB is 78 - color contains mainly: blue. Hex color #122A4E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #122A4E is #EDD5B1. Grayscale: #262626. Windows color (decimal): -15586738 or 5122578. OLE color: 5122578.
HSL color Cylindrical-coordinate representation of color #122A4E: hue angle of 216º degrees, saturation: 0.62, 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 #122A4E is Cyan = 0.77, Magento = 0.46, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 18 | 42 | 78 | - |
| CMYK | 0.77 | 0.46 | 0 | 0.69 |
| HSL | 216º | 0.63% | 0.19% | - |
| HSV(B) | 216º | 0.77% | 0.31% | - |
| XYZ | 2.45 | 2.33 | 7.53 | - |
| YUV | 38.93 | 150.05 | 113.07 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 42 | 78 | 0.77 | 0.46 | 0 | 0.69 | 216 | 0.63 | 0.19 |
| Hex | 12 | 2A | 4E | 4D | 2E | 0 | 45 | D8 | 3E | 13 |
| Octal | 22 | 52 | 116 | 115 | 56 | 0 | 105 | 330 | 76 | 23 |
| Binary | 10010 | 101010 | 1001110 | 1001101 | 101110 | 0 | 1000101 | 11011000 | 111110 | 10011 |
Color Harmonies of #122A4E
Complementary color
Monochromatic Colors of #122A4E
Black with #122A4E
Text Example
Text Example
White with #122A4E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #122A4E; }
p { color: rgb(18,42,78); }
H1.HeaderClassName
{
color: #122A4E;
}
.AnyTagClassName
{
color: #122A4E;
}
</style>
background-color css
<style>
a { background-color: #122A4E; }
a { background-color: rgb(18,42,78); }
div.DivClassName
{
background-color: #122A4E;
}
.BgClassName
{
background-color: #122A4E;
}
</style>
border-color css
<style>
span { border-color: #122A4E; }
span { border-color: rgb(18,42,78); }
td.TdClassName
{
border-color: #122A4E;
}
.TagClassName
{
border-color: #122A4E;
}
</style>