Shades of Midnight Blue #18157A
Tints of Midnight Blue #18157A
RGB
CMYK
RGB Variations
Color information
#18157A (or 0x18157A) is known color: Midnight Blue. HEX triplet: 18, 15 and 7A. RGB value is (24,21,122). Sum of RGB (Red+Green+Blue) = 24+21+122=167 (22% of max value = 765). Red value is 24 (9.77% from 255 or 14.37% from 167); Green value is 21 (8.59% from 255 or 12.57% from 167); Blue value is 122 (48.05% from 255 or 73.05% from 167); Max value from RGB is 122 - color contains mainly: blue. Hex color #18157A is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #18157A is #E7EA85. Grayscale: #212121. Windows color (decimal): -15198854 or 8000792. OLE color: 8000792.
HSL color Cylindrical-coordinate representation of color #18157A: hue angle of 241.78º degrees, saturation: 0.71, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #18157A is Cyan = 0.80, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 24 | 21 | 122 | - |
| CMYK | 0.80 | 0.83 | 0 | 0.52 |
| HSL | 241.78º | 0.71% | 0.28% | - |
| HSV(B) | 241.78º | 0.83% | 0.48% | - |
| XYZ | 4.16 | 2.14 | 18.61 | - |
| YUV | 33.41 | 177.99 | 121.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 21 | 122 | 0.80 | 0.83 | 0 | 0.52 | 241.78 | 0.71 | 0.28 |
| Hex | 18 | 15 | 7A | 50 | 53 | 0 | 34 | F2 | 47 | 1C |
| Octal | 30 | 25 | 172 | 120 | 123 | 0 | 64 | 362 | 107 | 34 |
| Binary | 11000 | 10101 | 1111010 | 1010000 | 1010011 | 0 | 110100 | 11110010 | 1000111 | 11100 |
Color Harmonies of #18157A
Complementary color
Monochromatic Colors of #18157A
Black with #18157A
Text Example
Text Example
White with #18157A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18157A; }
p { color: rgb(24,21,122); }
H1.HeaderClassName
{
color: #18157A;
}
.AnyTagClassName
{
color: #18157A;
}
</style>
background-color css
<style>
a { background-color: #18157A; }
a { background-color: rgb(24,21,122); }
div.DivClassName
{
background-color: #18157A;
}
.BgClassName
{
background-color: #18157A;
}
</style>
border-color css
<style>
span { border-color: #18157A; }
span { border-color: rgb(24,21,122); }
td.TdClassName
{
border-color: #18157A;
}
.TagClassName
{
border-color: #18157A;
}
</style>