Shades of Midnight #12274A
Tints of Midnight #12274A
RGB
CMYK
RGB Variations
Color information
#12274A (or 0x12274A) is known color: Midnight. HEX triplet: 12, 27 and 4A. RGB value is (18,39,74). Sum of RGB (Red+Green+Blue) = 18+39+74=131 (17% of max value = 765). Red value is 18 (7.42% from 255 or 13.74% from 131); Green value is 39 (15.62% from 255 or 29.77% from 131); Blue value is 74 (29.30% from 255 or 56.49% from 131); Max value from RGB is 74 - color contains mainly: blue. Hex color #12274A is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #12274A is #EDD8B5. Grayscale: #242424. Windows color (decimal): -15587510 or 4859666. OLE color: 4859666.
HSL color Cylindrical-coordinate representation of color #12274A: hue angle of 217.5º degrees, saturation: 0.61, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.29% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #12274A is Cyan = 0.76, Magento = 0.47, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 18 | 39 | 74 | - |
| CMYK | 0.76 | 0.47 | 0 | 0.71 |
| HSL | 217.5º | 0.61% | 0.18% | - |
| HSV(B) | 217.5º | 0.76% | 0.29% | - |
| XYZ | 2.21 | 2.07 | 6.76 | - |
| YUV | 36.71 | 149.04 | 114.65 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 39 | 74 | 0.76 | 0.47 | 0 | 0.71 | 217.5 | 0.61 | 0.18 |
| Hex | 12 | 27 | 4A | 4C | 2F | 0 | 47 | DA | 3D | 12 |
| Octal | 22 | 47 | 112 | 114 | 57 | 0 | 107 | 332 | 75 | 22 |
| Binary | 10010 | 100111 | 1001010 | 1001100 | 101111 | 0 | 1000111 | 11011010 | 111101 | 10010 |
Color Harmonies of #12274A
Complementary color
Monochromatic Colors of #12274A
Black with #12274A
Text Example
Text Example
White with #12274A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12274A; }
p { color: rgb(18,39,74); }
H1.HeaderClassName
{
color: #12274A;
}
.AnyTagClassName
{
color: #12274A;
}
</style>
background-color css
<style>
a { background-color: #12274A; }
a { background-color: rgb(18,39,74); }
div.DivClassName
{
background-color: #12274A;
}
.BgClassName
{
background-color: #12274A;
}
</style>
border-color css
<style>
span { border-color: #12274A; }
span { border-color: rgb(18,39,74); }
td.TdClassName
{
border-color: #12274A;
}
.TagClassName
{
border-color: #12274A;
}
</style>