Shades of Midnight Blue #21246F
Tints of Midnight Blue #21246F
RGB
CMYK
RGB Variations
Color information
#21246F (or 0x21246F) is known color: Midnight Blue. HEX triplet: 21, 24 and 6F. RGB value is (33,36,111). Sum of RGB (Red+Green+Blue) = 33+36+111=180 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.33% from 180); Green value is 36 (14.45% from 255 or 20% from 180); Blue value is 111 (43.75% from 255 or 61.67% from 180); Max value from RGB is 111 - color contains mainly: blue. Hex color #21246F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21246F is #DEDB90. Grayscale: #2B2B2B. Windows color (decimal): -14605201 or 7283745. OLE color: 7283745.
HSL color Cylindrical-coordinate representation of color #21246F: hue angle of 237.69º degrees, saturation: 0.54, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #21246F is Cyan = 0.70, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 33 | 36 | 111 | - |
| CMYK | 0.70 | 0.68 | 0 | 0.56 |
| HSL | 237.69º | 0.54% | 0.28% | - |
| HSV(B) | 237.69º | 0.7% | 0.44% | - |
| XYZ | 4.13 | 2.73 | 15.35 | - |
| YUV | 43.65 | 166.01 | 120.4 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 36 | 111 | 0.70 | 0.68 | 0 | 0.56 | 237.69 | 0.54 | 0.28 |
| Hex | 21 | 24 | 6F | 46 | 44 | 0 | 38 | EE | 36 | 1C |
| Octal | 41 | 44 | 157 | 106 | 104 | 0 | 70 | 356 | 66 | 34 |
| Binary | 100001 | 100100 | 1101111 | 1000110 | 1000100 | 0 | 111000 | 11101110 | 110110 | 11100 |
Color Harmonies of #21246F
Complementary color
Monochromatic Colors of #21246F
Black with #21246F
Text Example
Text Example
White with #21246F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21246F; }
p { color: rgb(33,36,111); }
H1.HeaderClassName
{
color: #21246F;
}
.AnyTagClassName
{
color: #21246F;
}
</style>
background-color css
<style>
a { background-color: #21246F; }
a { background-color: rgb(33,36,111); }
div.DivClassName
{
background-color: #21246F;
}
.BgClassName
{
background-color: #21246F;
}
</style>
border-color css
<style>
span { border-color: #21246F; }
span { border-color: rgb(33,36,111); }
td.TdClassName
{
border-color: #21246F;
}
.TagClassName
{
border-color: #21246F;
}
</style>