Shades of Midnight Blue #18156B
Tints of Midnight Blue #18156B
RGB
CMYK
RGB Variations
Color information
#18156B (or 0x18156B) is known color: Midnight Blue. HEX triplet: 18, 15 and 6B. RGB value is (24,21,107). Sum of RGB (Red+Green+Blue) = 24+21+107=152 (20% of max value = 765). Red value is 24 (9.77% from 255 or 15.79% from 152); Green value is 21 (8.59% from 255 or 13.82% from 152); Blue value is 107 (42.19% from 255 or 70.39% from 152); Max value from RGB is 107 - color contains mainly: blue. Hex color #18156B is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #18156B is #E7EA94. Grayscale: #1F1F1F. Windows color (decimal): -15198869 or 7017752. OLE color: 7017752.
HSL color Cylindrical-coordinate representation of color #18156B: hue angle of 242.09º degrees, saturation: 0.67, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #18156B is Cyan = 0.78, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 24 | 21 | 107 | - |
| CMYK | 0.78 | 0.80 | 0 | 0.58 |
| HSL | 242.09º | 0.67% | 0.25% | - |
| HSV(B) | 242.09º | 0.8% | 0.42% | - |
| XYZ | 3.3 | 1.79 | 14.08 | - |
| YUV | 31.7 | 170.49 | 122.51 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 21 | 107 | 0.78 | 0.80 | 0 | 0.58 | 242.09 | 0.67 | 0.25 |
| Hex | 18 | 15 | 6B | 4E | 50 | 0 | 3A | F2 | 43 | 19 |
| Octal | 30 | 25 | 153 | 116 | 120 | 0 | 72 | 362 | 103 | 31 |
| Binary | 11000 | 10101 | 1101011 | 1001110 | 1010000 | 0 | 111010 | 11110010 | 1000011 | 11001 |
Color Harmonies of #18156B
Complementary color
Monochromatic Colors of #18156B
Black with #18156B
Text Example
Text Example
White with #18156B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18156B; }
p { color: rgb(24,21,107); }
H1.HeaderClassName
{
color: #18156B;
}
.AnyTagClassName
{
color: #18156B;
}
</style>
background-color css
<style>
a { background-color: #18156B; }
a { background-color: rgb(24,21,107); }
div.DivClassName
{
background-color: #18156B;
}
.BgClassName
{
background-color: #18156B;
}
</style>
border-color css
<style>
span { border-color: #18156B; }
span { border-color: rgb(24,21,107); }
td.TdClassName
{
border-color: #18156B;
}
.TagClassName
{
border-color: #18156B;
}
</style>