Shades of Midnight Blue #18217B
Tints of Midnight Blue #18217B
RGB
CMYK
RGB Variations
Color information
#18217B (or 0x18217B) is known color: Midnight Blue. HEX triplet: 18, 21 and 7B. RGB value is (24,33,123). Sum of RGB (Red+Green+Blue) = 24+33+123=180 (23% of max value = 765). Red value is 24 (9.77% from 255 or 13.33% from 180); Green value is 33 (13.28% from 255 or 18.33% from 180); Blue value is 123 (48.44% from 255 or 68.33% from 180); Max value from RGB is 123 - color contains mainly: blue. Hex color #18217B is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #18217B is #E7DE84. Grayscale: #282828. Windows color (decimal): -15195781 or 8069400. OLE color: 8069400.
HSL color Cylindrical-coordinate representation of color #18217B: hue angle of 234.55º degrees, saturation: 0.67, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #18217B is Cyan = 0.80, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 24 | 33 | 123 | - |
| CMYK | 0.80 | 0.73 | 0 | 0.52 |
| HSL | 234.55º | 0.67% | 0.29% | - |
| HSV(B) | 234.55º | 0.8% | 0.48% | - |
| XYZ | 4.5 | 2.71 | 19.03 | - |
| YUV | 40.57 | 174.52 | 116.18 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 33 | 123 | 0.80 | 0.73 | 0 | 0.52 | 234.55 | 0.67 | 0.29 |
| Hex | 18 | 21 | 7B | 50 | 49 | 0 | 34 | EB | 43 | 1D |
| Octal | 30 | 41 | 173 | 120 | 111 | 0 | 64 | 353 | 103 | 35 |
| Binary | 11000 | 100001 | 1111011 | 1010000 | 1001001 | 0 | 110100 | 11101011 | 1000011 | 11101 |
Color Harmonies of #18217B
Complementary color
Monochromatic Colors of #18217B
Black with #18217B
Text Example
Text Example
White with #18217B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18217B; }
p { color: rgb(24,33,123); }
H1.HeaderClassName
{
color: #18217B;
}
.AnyTagClassName
{
color: #18217B;
}
</style>
background-color css
<style>
a { background-color: #18217B; }
a { background-color: rgb(24,33,123); }
div.DivClassName
{
background-color: #18217B;
}
.BgClassName
{
background-color: #18217B;
}
</style>
border-color css
<style>
span { border-color: #18217B; }
span { border-color: rgb(24,33,123); }
td.TdClassName
{
border-color: #18217B;
}
.TagClassName
{
border-color: #18217B;
}
</style>