Shades of Midnight Blue #12227B
Tints of Midnight Blue #12227B
RGB
CMYK
RGB Variations
Color information
#12227B (or 0x12227B) is known color: Midnight Blue. HEX triplet: 12, 22 and 7B. RGB value is (18,34,123). Sum of RGB (Red+Green+Blue) = 18+34+123=175 (23% of max value = 765). Red value is 18 (7.42% from 255 or 10.29% from 175); Green value is 34 (13.67% from 255 or 19.43% from 175); Blue value is 123 (48.44% from 255 or 70.29% from 175); Max value from RGB is 123 - color contains mainly: blue. Hex color #12227B is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #12227B is #EDDD84. Grayscale: #262626. Windows color (decimal): -15588741 or 8069650. OLE color: 8069650.
HSL color Cylindrical-coordinate representation of color #12227B: hue angle of 230.86º degrees, saturation: 0.74, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #12227B is Cyan = 0.85, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 18 | 34 | 123 | - |
| CMYK | 0.85 | 0.72 | 0 | 0.52 |
| HSL | 230.86º | 0.74% | 0.28% | - |
| HSV(B) | 230.86º | 0.85% | 0.48% | - |
| XYZ | 4.4 | 2.7 | 19.03 | - |
| YUV | 39.36 | 175.2 | 112.76 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 34 | 123 | 0.85 | 0.72 | 0 | 0.52 | 230.86 | 0.74 | 0.28 |
| Hex | 12 | 22 | 7B | 55 | 48 | 0 | 34 | E7 | 4A | 1C |
| Octal | 22 | 42 | 173 | 125 | 110 | 0 | 64 | 347 | 112 | 34 |
| Binary | 10010 | 100010 | 1111011 | 1010101 | 1001000 | 0 | 110100 | 11100111 | 1001010 | 11100 |
Color Harmonies of #12227B
Complementary color
Monochromatic Colors of #12227B
Black with #12227B
Text Example
Text Example
White with #12227B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12227B; }
p { color: rgb(18,34,123); }
H1.HeaderClassName
{
color: #12227B;
}
.AnyTagClassName
{
color: #12227B;
}
</style>
background-color css
<style>
a { background-color: #12227B; }
a { background-color: rgb(18,34,123); }
div.DivClassName
{
background-color: #12227B;
}
.BgClassName
{
background-color: #12227B;
}
</style>
border-color css
<style>
span { border-color: #12227B; }
span { border-color: rgb(18,34,123); }
td.TdClassName
{
border-color: #12227B;
}
.TagClassName
{
border-color: #12227B;
}
</style>