Shades of Midnight Blue #12217B
Tints of Midnight Blue #12217B
RGB
CMYK
RGB Variations
Color information
#12217B (or 0x12217B) is known color: Midnight Blue. HEX triplet: 12, 21 and 7B. RGB value is (18,33,123). Sum of RGB (Red+Green+Blue) = 18+33+123=174 (23% of max value = 765). Red value is 18 (7.42% from 255 or 10.34% from 174); Green value is 33 (13.28% from 255 or 18.97% from 174); Blue value is 123 (48.44% from 255 or 70.69% from 174); Max value from RGB is 123 - color contains mainly: blue. Hex color #12217B is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #12217B is #EDDE84. Grayscale: #262626. Windows color (decimal): -15588997 or 8069394. OLE color: 8069394.
HSL color Cylindrical-coordinate representation of color #12217B: hue angle of 231.43º 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 #12217B is Cyan = 0.85, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 18 | 33 | 123 | - |
| CMYK | 0.85 | 0.73 | 0 | 0.52 |
| HSL | 231.43º | 0.74% | 0.28% | - |
| HSV(B) | 231.43º | 0.85% | 0.48% | - |
| XYZ | 4.37 | 2.65 | 19.02 | - |
| YUV | 38.78 | 175.53 | 113.18 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 33 | 123 | 0.85 | 0.73 | 0 | 0.52 | 231.43 | 0.74 | 0.28 |
| Hex | 12 | 21 | 7B | 55 | 49 | 0 | 34 | E7 | 4A | 1C |
| Octal | 22 | 41 | 173 | 125 | 111 | 0 | 64 | 347 | 112 | 34 |
| Binary | 10010 | 100001 | 1111011 | 1010101 | 1001001 | 0 | 110100 | 11100111 | 1001010 | 11100 |
Color Harmonies of #12217B
Complementary color
Monochromatic Colors of #12217B
Black with #12217B
Text Example
Text Example
White with #12217B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12217B; }
p { color: rgb(18,33,123); }
H1.HeaderClassName
{
color: #12217B;
}
.AnyTagClassName
{
color: #12217B;
}
</style>
background-color css
<style>
a { background-color: #12217B; }
a { background-color: rgb(18,33,123); }
div.DivClassName
{
background-color: #12217B;
}
.BgClassName
{
background-color: #12217B;
}
</style>
border-color css
<style>
span { border-color: #12217B; }
span { border-color: rgb(18,33,123); }
td.TdClassName
{
border-color: #12217B;
}
.TagClassName
{
border-color: #12217B;
}
</style>