Shades of Midnight Blue #18227E
Tints of Midnight Blue #18227E
RGB
CMYK
RGB Variations
Color information
#18227E (or 0x18227E) is known color: Midnight Blue. HEX triplet: 18, 22 and 7E. RGB value is (24,34,126). Sum of RGB (Red+Green+Blue) = 24+34+126=184 (24% of max value = 765). Red value is 24 (9.77% from 255 or 13.04% from 184); Green value is 34 (13.67% from 255 or 18.48% from 184); Blue value is 126 (49.61% from 255 or 68.48% from 184); Max value from RGB is 126 - color contains mainly: blue. Hex color #18227E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #18227E is #E7DD81. Grayscale: #292929. Windows color (decimal): -15195522 or 8266264. OLE color: 8266264.
HSL color Cylindrical-coordinate representation of color #18227E: hue angle of 234.12º degrees, saturation: 0.68, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #18227E is Cyan = 0.81, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 24 | 34 | 126 | - |
| CMYK | 0.81 | 0.73 | 0 | 0.51 |
| HSL | 234.12º | 0.68% | 0.29% | - |
| HSV(B) | 234.12º | 0.81% | 0.49% | - |
| XYZ | 4.71 | 2.84 | 20.04 | - |
| YUV | 41.5 | 175.69 | 115.52 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 34 | 126 | 0.81 | 0.73 | 0 | 0.51 | 234.12 | 0.68 | 0.29 |
| Hex | 18 | 22 | 7E | 51 | 49 | 0 | 33 | EA | 44 | 1D |
| Octal | 30 | 42 | 176 | 121 | 111 | 0 | 63 | 352 | 104 | 35 |
| Binary | 11000 | 100010 | 1111110 | 1010001 | 1001001 | 0 | 110011 | 11101010 | 1000100 | 11101 |
Color Harmonies of #18227E
Complementary color
Monochromatic Colors of #18227E
Black with #18227E
Text Example
Text Example
White with #18227E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18227E; }
p { color: rgb(24,34,126); }
H1.HeaderClassName
{
color: #18227E;
}
.AnyTagClassName
{
color: #18227E;
}
</style>
background-color css
<style>
a { background-color: #18227E; }
a { background-color: rgb(24,34,126); }
div.DivClassName
{
background-color: #18227E;
}
.BgClassName
{
background-color: #18227E;
}
</style>
border-color css
<style>
span { border-color: #18227E; }
span { border-color: rgb(24,34,126); }
td.TdClassName
{
border-color: #18227E;
}
.TagClassName
{
border-color: #18227E;
}
</style>