Shades of Midnight Blue #12227A
Tints of Midnight Blue #12227A
RGB
CMYK
RGB Variations
Color information
#12227A (or 0x12227A) is known color: Midnight Blue. HEX triplet: 12, 22 and 7A. RGB value is (18,34,122). Sum of RGB (Red+Green+Blue) = 18+34+122=174 (23% of max value = 765). Red value is 18 (7.42% from 255 or 10.34% from 174); Green value is 34 (13.67% from 255 or 19.54% from 174); Blue value is 122 (48.05% from 255 or 70.11% from 174); Max value from RGB is 122 - color contains mainly: blue. Hex color #12227A is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #12227A is #EDDD85. Grayscale: #262626. Windows color (decimal): -15588742 or 8004114. OLE color: 8004114.
HSL color Cylindrical-coordinate representation of color #12227A: hue angle of 230.77º degrees, saturation: 0.74, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #12227A is Cyan = 0.85, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 18 | 34 | 122 | - |
| CMYK | 0.85 | 0.72 | 0 | 0.52 |
| HSL | 230.77º | 0.74% | 0.27% | - |
| HSV(B) | 230.77º | 0.85% | 0.48% | - |
| XYZ | 4.33 | 2.68 | 18.7 | - |
| YUV | 39.25 | 174.7 | 112.84 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 34 | 122 | 0.85 | 0.72 | 0 | 0.52 | 230.77 | 0.74 | 0.27 |
| Hex | 12 | 22 | 7A | 55 | 48 | 0 | 34 | E7 | 4A | 1B |
| Octal | 22 | 42 | 172 | 125 | 110 | 0 | 64 | 347 | 112 | 33 |
| Binary | 10010 | 100010 | 1111010 | 1010101 | 1001000 | 0 | 110100 | 11100111 | 1001010 | 11011 |
Color Harmonies of #12227A
Complementary color
Monochromatic Colors of #12227A
Black with #12227A
Text Example
Text Example
White with #12227A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12227A; }
p { color: rgb(18,34,122); }
H1.HeaderClassName
{
color: #12227A;
}
.AnyTagClassName
{
color: #12227A;
}
</style>
background-color css
<style>
a { background-color: #12227A; }
a { background-color: rgb(18,34,122); }
div.DivClassName
{
background-color: #12227A;
}
.BgClassName
{
background-color: #12227A;
}
</style>
border-color css
<style>
span { border-color: #12227A; }
span { border-color: rgb(18,34,122); }
td.TdClassName
{
border-color: #12227A;
}
.TagClassName
{
border-color: #12227A;
}
</style>