Shades of Midnight Blue #24126C
Tints of Midnight Blue #24126C
RGB
CMYK
RGB Variations
Color information
#24126C (or 0x24126C) is known color: Midnight Blue. HEX triplet: 24, 12 and 6C. RGB value is (36,18,108). Sum of RGB (Red+Green+Blue) = 36+18+108=162 (21% of max value = 765). Red value is 36 (14.45% from 255 or 22.22% from 162); Green value is 18 (7.42% from 255 or 11.11% from 162); Blue value is 108 (42.58% from 255 or 66.67% from 162); Max value from RGB is 108 - color contains mainly: blue. Hex color #24126C is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #24126C is #DBED93. Grayscale: #212121. Windows color (decimal): -14413204 or 7082532. OLE color: 7082532.
HSL color Cylindrical-coordinate representation of color #24126C: hue angle of 252º degrees, saturation: 0.71, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #24126C is Cyan = 0.67, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 36 | 18 | 108 | - |
| CMYK | 0.67 | 0.83 | 0 | 0.58 |
| HSL | 252º | 0.71% | 0.25% | - |
| HSV(B) | 252º | 0.83% | 0.42% | - |
| XYZ | 3.65 | 1.89 | 14.36 | - |
| YUV | 33.64 | 169.96 | 129.68 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 36 | 18 | 108 | 0.67 | 0.83 | 0 | 0.58 | 252 | 0.71 | 0.25 |
| Hex | 24 | 12 | 6C | 43 | 53 | 0 | 3A | FC | 47 | 19 |
| Octal | 44 | 22 | 154 | 103 | 123 | 0 | 72 | 374 | 107 | 31 |
| Binary | 100100 | 10010 | 1101100 | 1000011 | 1010011 | 0 | 111010 | 11111100 | 1000111 | 11001 |
Color Harmonies of #24126C
Complementary color
Monochromatic Colors of #24126C
Black with #24126C
Text Example
Text Example
White with #24126C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #24126C; }
p { color: rgb(36,18,108); }
H1.HeaderClassName
{
color: #24126C;
}
.AnyTagClassName
{
color: #24126C;
}
</style>
background-color css
<style>
a { background-color: #24126C; }
a { background-color: rgb(36,18,108); }
div.DivClassName
{
background-color: #24126C;
}
.BgClassName
{
background-color: #24126C;
}
</style>
border-color css
<style>
span { border-color: #24126C; }
span { border-color: rgb(36,18,108); }
td.TdClassName
{
border-color: #24126C;
}
.TagClassName
{
border-color: #24126C;
}
</style>