Shades of Midnight Blue #242172
Tints of Midnight Blue #242172
RGB
CMYK
RGB Variations
Color information
#242172 (or 0x242172) is known color: Midnight Blue. HEX triplet: 24, 21 and 72. RGB value is (36,33,114). Sum of RGB (Red+Green+Blue) = 36+33+114=183 (24% of max value = 765). Red value is 36 (14.45% from 255 or 19.67% from 183); Green value is 33 (13.28% from 255 or 18.03% from 183); Blue value is 114 (44.92% from 255 or 62.30% from 183); Max value from RGB is 114 - color contains mainly: blue. Hex color #242172 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #242172 is #DBDE8D. Grayscale: #2A2A2A. Windows color (decimal): -14409358 or 7479588. OLE color: 7479588.
HSL color Cylindrical-coordinate representation of color #242172: hue angle of 242.22º degrees, saturation: 0.55, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #242172 is Cyan = 0.68, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 36 | 33 | 114 | - |
| CMYK | 0.68 | 0.71 | 0 | 0.55 |
| HSL | 242.22º | 0.55% | 0.29% | - |
| HSV(B) | 242.22º | 0.71% | 0.45% | - |
| XYZ | 4.31 | 2.68 | 16.21 | - |
| YUV | 43.13 | 167.99 | 122.91 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 36 | 33 | 114 | 0.68 | 0.71 | 0 | 0.55 | 242.22 | 0.55 | 0.29 |
| Hex | 24 | 21 | 72 | 44 | 47 | 0 | 37 | F2 | 37 | 1D |
| Octal | 44 | 41 | 162 | 104 | 107 | 0 | 67 | 362 | 67 | 35 |
| Binary | 100100 | 100001 | 1110010 | 1000100 | 1000111 | 0 | 110111 | 11110010 | 110111 | 11101 |
Color Harmonies of #242172
Complementary color
Monochromatic Colors of #242172
Black with #242172
Text Example
Text Example
White with #242172
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #242172; }
p { color: rgb(36,33,114); }
H1.HeaderClassName
{
color: #242172;
}
.AnyTagClassName
{
color: #242172;
}
</style>
background-color css
<style>
a { background-color: #242172; }
a { background-color: rgb(36,33,114); }
div.DivClassName
{
background-color: #242172;
}
.BgClassName
{
background-color: #242172;
}
</style>
border-color css
<style>
span { border-color: #242172; }
span { border-color: rgb(36,33,114); }
td.TdClassName
{
border-color: #242172;
}
.TagClassName
{
border-color: #242172;
}
</style>