Shades of Midnight Blue #18257C
Tints of Midnight Blue #18257C
RGB
CMYK
RGB Variations
Color information
#18257C (or 0x18257C) is known color: Midnight Blue. HEX triplet: 18, 25 and 7C. RGB value is (24,37,124). Sum of RGB (Red+Green+Blue) = 24+37+124=185 (24% of max value = 765). Red value is 24 (9.77% from 255 or 12.97% from 185); Green value is 37 (14.84% from 255 or 20% from 185); Blue value is 124 (48.83% from 255 or 67.03% from 185); Max value from RGB is 124 - color contains mainly: blue. Hex color #18257C is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #18257C is #E7DA83. Grayscale: #2A2A2A. Windows color (decimal): -15194756 or 8135960. OLE color: 8135960.
HSL color Cylindrical-coordinate representation of color #18257C: hue angle of 232.2º 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 #18257C is Cyan = 0.81, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 24 | 37 | 124 | - |
| CMYK | 0.81 | 0.70 | 0 | 0.51 |
| HSL | 232.2º | 0.68% | 0.29% | - |
| HSV(B) | 232.2º | 0.81% | 0.49% | - |
| XYZ | 4.68 | 2.97 | 19.4 | - |
| YUV | 43.03 | 173.69 | 114.43 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 37 | 124 | 0.81 | 0.70 | 0 | 0.51 | 232.2 | 0.68 | 0.29 |
| Hex | 18 | 25 | 7C | 51 | 46 | 0 | 33 | E8 | 44 | 1D |
| Octal | 30 | 45 | 174 | 121 | 106 | 0 | 63 | 350 | 104 | 35 |
| Binary | 11000 | 100101 | 1111100 | 1010001 | 1000110 | 0 | 110011 | 11101000 | 1000100 | 11101 |
Color Harmonies of #18257C
Complementary color
Monochromatic Colors of #18257C
Black with #18257C
Text Example
Text Example
White with #18257C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18257C; }
p { color: rgb(24,37,124); }
H1.HeaderClassName
{
color: #18257C;
}
.AnyTagClassName
{
color: #18257C;
}
</style>
background-color css
<style>
a { background-color: #18257C; }
a { background-color: rgb(24,37,124); }
div.DivClassName
{
background-color: #18257C;
}
.BgClassName
{
background-color: #18257C;
}
</style>
border-color css
<style>
span { border-color: #18257C; }
span { border-color: rgb(24,37,124); }
td.TdClassName
{
border-color: #18257C;
}
.TagClassName
{
border-color: #18257C;
}
</style>