Shades of Midnight Blue #18157C
Tints of Midnight Blue #18157C
RGB
CMYK
RGB Variations
Color information
#18157C (or 0x18157C) is known color: Midnight Blue. HEX triplet: 18, 15 and 7C. RGB value is (24,21,124). Sum of RGB (Red+Green+Blue) = 24+21+124=169 (22% of max value = 765). Red value is 24 (9.77% from 255 or 14.20% from 169); Green value is 21 (8.59% from 255 or 12.43% from 169); Blue value is 124 (48.83% from 255 or 73.37% from 169); Max value from RGB is 124 - color contains mainly: blue. Hex color #18157C is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #18157C is #E7EA83. Grayscale: #212121. Windows color (decimal): -15198852 or 8131864. OLE color: 8131864.
HSL color Cylindrical-coordinate representation of color #18157C: hue angle of 241.75º degrees, saturation: 0.71, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #18157C is Cyan = 0.81, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 24 | 21 | 124 | - |
| CMYK | 0.81 | 0.83 | 0 | 0.51 |
| HSL | 241.75º | 0.71% | 0.28% | - |
| HSV(B) | 241.75º | 0.83% | 0.49% | - |
| XYZ | 4.28 | 2.19 | 19.26 | - |
| YUV | 33.64 | 178.99 | 121.12 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 21 | 124 | 0.81 | 0.83 | 0 | 0.51 | 241.75 | 0.71 | 0.28 |
| Hex | 18 | 15 | 7C | 51 | 53 | 0 | 33 | F2 | 47 | 1C |
| Octal | 30 | 25 | 174 | 121 | 123 | 0 | 63 | 362 | 107 | 34 |
| Binary | 11000 | 10101 | 1111100 | 1010001 | 1010011 | 0 | 110011 | 11110010 | 1000111 | 11100 |
Color Harmonies of #18157C
Complementary color
Monochromatic Colors of #18157C
Black with #18157C
Text Example
Text Example
White with #18157C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18157C; }
p { color: rgb(24,21,124); }
H1.HeaderClassName
{
color: #18157C;
}
.AnyTagClassName
{
color: #18157C;
}
</style>
background-color css
<style>
a { background-color: #18157C; }
a { background-color: rgb(24,21,124); }
div.DivClassName
{
background-color: #18157C;
}
.BgClassName
{
background-color: #18157C;
}
</style>
border-color css
<style>
span { border-color: #18157C; }
span { border-color: rgb(24,21,124); }
td.TdClassName
{
border-color: #18157C;
}
.TagClassName
{
border-color: #18157C;
}
</style>