Shades of Midnight #122D51
Tints of Midnight #122D51
RGB
CMYK
RGB Variations
Color information
#122D51 (or 0x122D51) is known color: Midnight. HEX triplet: 12, 2D and 51. RGB value is (18,45,81). Sum of RGB (Red+Green+Blue) = 18+45+81=144 (19% of max value = 765). Red value is 18 (7.42% from 255 or 12.5% from 144); Green value is 45 (17.97% from 255 or 31.25% from 144); Blue value is 81 (32.03% from 255 or 56.25% from 144); Max value from RGB is 81 - color contains mainly: blue. Hex color #122D51 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #122D51 is #EDD2AE. Grayscale: #282828. Windows color (decimal): -15585967 or 5319954. OLE color: 5319954.
HSL color Cylindrical-coordinate representation of color #122D51: hue angle of 214.29º degrees, saturation: 0.64, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #122D51 is Cyan = 0.78, Magento = 0.44, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 18 | 45 | 81 | - |
| CMYK | 0.78 | 0.44 | 0 | 0.68 |
| HSL | 214.29º | 0.64% | 0.19% | - |
| HSV(B) | 214.29º | 0.78% | 0.32% | - |
| XYZ | 2.67 | 2.6 | 8.15 | - |
| YUV | 41.03 | 150.55 | 111.57 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 45 | 81 | 0.78 | 0.44 | 0 | 0.68 | 214.29 | 0.64 | 0.19 |
| Hex | 12 | 2D | 51 | 4E | 2C | 0 | 44 | D6 | 40 | 13 |
| Octal | 22 | 55 | 121 | 116 | 54 | 0 | 104 | 326 | 100 | 23 |
| Binary | 10010 | 101101 | 1010001 | 1001110 | 101100 | 0 | 1000100 | 11010110 | 1000000 | 10011 |
Color Harmonies of #122D51
Complementary color
Monochromatic Colors of #122D51
Black with #122D51
Text Example
Text Example
White with #122D51
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #122D51; }
p { color: rgb(18,45,81); }
H1.HeaderClassName
{
color: #122D51;
}
.AnyTagClassName
{
color: #122D51;
}
</style>
background-color css
<style>
a { background-color: #122D51; }
a { background-color: rgb(18,45,81); }
div.DivClassName
{
background-color: #122D51;
}
.BgClassName
{
background-color: #122D51;
}
</style>
border-color css
<style>
span { border-color: #122D51; }
span { border-color: rgb(18,45,81); }
td.TdClassName
{
border-color: #122D51;
}
.TagClassName
{
border-color: #122D51;
}
</style>