Shades of Midnight Blue #18216C
Tints of Midnight Blue #18216C
RGB
CMYK
RGB Variations
Color information
#18216C (or 0x18216C) is known color: Midnight Blue. HEX triplet: 18, 21 and 6C. RGB value is (24,33,108). Sum of RGB (Red+Green+Blue) = 24+33+108=165 (21% of max value = 765). Red value is 24 (9.77% from 255 or 14.55% from 165); Green value is 33 (13.28% from 255 or 20% from 165); Blue value is 108 (42.58% from 255 or 65.45% from 165); Max value from RGB is 108 - color contains mainly: blue. Hex color #18216C is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #18216C is #E7DE93. Grayscale: #262626. Windows color (decimal): -15195796 or 7086360. OLE color: 7086360.
HSL color Cylindrical-coordinate representation of color #18216C: hue angle of 233.57º degrees, saturation: 0.64, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #18216C is Cyan = 0.78, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 24 | 33 | 108 | - |
| CMYK | 0.78 | 0.69 | 0 | 0.58 |
| HSL | 233.57º | 0.64% | 0.26% | - |
| HSV(B) | 233.57º | 0.78% | 0.42% | - |
| XYZ | 3.63 | 2.36 | 14.45 | - |
| YUV | 38.86 | 167.02 | 117.4 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 33 | 108 | 0.78 | 0.69 | 0 | 0.58 | 233.57 | 0.64 | 0.26 |
| Hex | 18 | 21 | 6C | 4E | 45 | 0 | 3A | EA | 40 | 1A |
| Octal | 30 | 41 | 154 | 116 | 105 | 0 | 72 | 352 | 100 | 32 |
| Binary | 11000 | 100001 | 1101100 | 1001110 | 1000101 | 0 | 111010 | 11101010 | 1000000 | 11010 |
Color Harmonies of #18216C
Complementary color
Monochromatic Colors of #18216C
Black with #18216C
Text Example
Text Example
White with #18216C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18216C; }
p { color: rgb(24,33,108); }
H1.HeaderClassName
{
color: #18216C;
}
.AnyTagClassName
{
color: #18216C;
}
</style>
background-color css
<style>
a { background-color: #18216C; }
a { background-color: rgb(24,33,108); }
div.DivClassName
{
background-color: #18216C;
}
.BgClassName
{
background-color: #18216C;
}
</style>
border-color css
<style>
span { border-color: #18216C; }
span { border-color: rgb(24,33,108); }
td.TdClassName
{
border-color: #18216C;
}
.TagClassName
{
border-color: #18216C;
}
</style>