Shades of Midnight Blue #18157F
Tints of Midnight Blue #18157F
RGB
CMYK
RGB Variations
Color information
#18157F (or 0x18157F) is known color: Midnight Blue. HEX triplet: 18, 15 and 7F. RGB value is (24,21,127). Sum of RGB (Red+Green+Blue) = 24+21+127=172 (22% of max value = 765). Red value is 24 (9.77% from 255 or 13.95% from 172); Green value is 21 (8.59% from 255 or 12.21% from 172); Blue value is 127 (50% from 255 or 73.84% from 172); Max value from RGB is 127 - color contains mainly: blue. Hex color #18157F is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #18157F is #E7EA80. Grayscale: #212121. Windows color (decimal): -15198849 or 8328472. OLE color: 8328472.
HSL color Cylindrical-coordinate representation of color #18157F: hue angle of 241.7º degrees, saturation: 0.72, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #18157F is Cyan = 0.81, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 24 | 21 | 127 | - |
| CMYK | 0.81 | 0.83 | 0 | 0.50 |
| HSL | 241.7º | 0.72% | 0.29% | - |
| HSV(B) | 241.7º | 0.83% | 0.5% | - |
| XYZ | 4.48 | 2.26 | 20.28 | - |
| YUV | 33.98 | 180.49 | 120.88 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 21 | 127 | 0.81 | 0.83 | 0 | 0.50 | 241.7 | 0.72 | 0.29 |
| Hex | 18 | 15 | 7F | 51 | 53 | 0 | 32 | F2 | 48 | 1D |
| Octal | 30 | 25 | 177 | 121 | 123 | 0 | 62 | 362 | 110 | 35 |
| Binary | 11000 | 10101 | 1111111 | 1010001 | 1010011 | 0 | 110010 | 11110010 | 1001000 | 11101 |
Color Harmonies of #18157F
Complementary color
Monochromatic Colors of #18157F
Black with #18157F
Text Example
Text Example
White with #18157F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18157F; }
p { color: rgb(24,21,127); }
H1.HeaderClassName
{
color: #18157F;
}
.AnyTagClassName
{
color: #18157F;
}
</style>
background-color css
<style>
a { background-color: #18157F; }
a { background-color: rgb(24,21,127); }
div.DivClassName
{
background-color: #18157F;
}
.BgClassName
{
background-color: #18157F;
}
</style>
border-color css
<style>
span { border-color: #18157F; }
span { border-color: rgb(24,21,127); }
td.TdClassName
{
border-color: #18157F;
}
.TagClassName
{
border-color: #18157F;
}
</style>