Shades of Midnight #122D4E
Tints of Midnight #122D4E
RGB
CMYK
RGB Variations
Color information
#122D4E (or 0x122D4E) is known color: Midnight. HEX triplet: 12, 2D and 4E. RGB value is (18,45,78). Sum of RGB (Red+Green+Blue) = 18+45+78=141 (18% of max value = 765). Red value is 18 (7.42% from 255 or 12.77% from 141); Green value is 45 (17.97% from 255 or 31.91% from 141); Blue value is 78 (30.86% from 255 or 55.32% from 141); Max value from RGB is 78 - color contains mainly: blue. Hex color #122D4E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #122D4E is #EDD2B1. Grayscale: #282828. Windows color (decimal): -15585970 or 5123346. OLE color: 5123346.
HSL color Cylindrical-coordinate representation of color #122D4E: hue angle of 213º 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 #122D4E is Cyan = 0.77, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 18 | 45 | 78 | - |
| CMYK | 0.77 | 0.42 | 0 | 0.69 |
| HSL | 213º | 0.63% | 0.19% | - |
| HSV(B) | 213º | 0.77% | 0.31% | - |
| XYZ | 2.56 | 2.56 | 7.57 | - |
| YUV | 40.69 | 149.05 | 111.82 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 45 | 78 | 0.77 | 0.42 | 0 | 0.69 | 213 | 0.63 | 0.19 |
| Hex | 12 | 2D | 4E | 4D | 2A | 0 | 45 | D5 | 3E | 13 |
| Octal | 22 | 55 | 116 | 115 | 52 | 0 | 105 | 325 | 76 | 23 |
| Binary | 10010 | 101101 | 1001110 | 1001101 | 101010 | 0 | 1000101 | 11010101 | 111110 | 10011 |
Color Harmonies of #122D4E
Complementary color
Monochromatic Colors of #122D4E
Black with #122D4E
Text Example
Text Example
White with #122D4E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #122D4E; }
p { color: rgb(18,45,78); }
H1.HeaderClassName
{
color: #122D4E;
}
.AnyTagClassName
{
color: #122D4E;
}
</style>
background-color css
<style>
a { background-color: #122D4E; }
a { background-color: rgb(18,45,78); }
div.DivClassName
{
background-color: #122D4E;
}
.BgClassName
{
background-color: #122D4E;
}
</style>
border-color css
<style>
span { border-color: #122D4E; }
span { border-color: rgb(18,45,78); }
td.TdClassName
{
border-color: #122D4E;
}
.TagClassName
{
border-color: #122D4E;
}
</style>