Shades of Midnight Blue #21246C
Tints of Midnight Blue #21246C
RGB
CMYK
RGB Variations
Color information
#21246C (or 0x21246C) is known color: Midnight Blue. HEX triplet: 21, 24 and 6C. RGB value is (33,36,108). Sum of RGB (Red+Green+Blue) = 33+36+108=177 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.64% from 177); Green value is 36 (14.45% from 255 or 20.34% from 177); Blue value is 108 (42.58% from 255 or 61.02% from 177); Max value from RGB is 108 - color contains mainly: blue. Hex color #21246C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21246C is #DEDB93. Grayscale: #2B2B2B. Windows color (decimal): -14605204 or 7087137. OLE color: 7087137.
HSL color Cylindrical-coordinate representation of color #21246C: hue angle of 237.6º degrees, saturation: 0.53, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #21246C is Cyan = 0.69, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 33 | 36 | 108 | - |
| CMYK | 0.69 | 0.67 | 0 | 0.58 |
| HSL | 237.6º | 0.53% | 0.28% | - |
| HSV(B) | 237.6º | 0.69% | 0.42% | - |
| XYZ | 3.96 | 2.67 | 14.49 | - |
| YUV | 43.31 | 164.51 | 120.65 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 36 | 108 | 0.69 | 0.67 | 0 | 0.58 | 237.6 | 0.53 | 0.28 |
| Hex | 21 | 24 | 6C | 45 | 43 | 0 | 3A | EE | 35 | 1C |
| Octal | 41 | 44 | 154 | 105 | 103 | 0 | 72 | 356 | 65 | 34 |
| Binary | 100001 | 100100 | 1101100 | 1000101 | 1000011 | 0 | 111010 | 11101110 | 110101 | 11100 |
Color Harmonies of #21246C
Complementary color
Monochromatic Colors of #21246C
Black with #21246C
Text Example
Text Example
White with #21246C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21246C; }
p { color: rgb(33,36,108); }
H1.HeaderClassName
{
color: #21246C;
}
.AnyTagClassName
{
color: #21246C;
}
</style>
background-color css
<style>
a { background-color: #21246C; }
a { background-color: rgb(33,36,108); }
div.DivClassName
{
background-color: #21246C;
}
.BgClassName
{
background-color: #21246C;
}
</style>
border-color css
<style>
span { border-color: #21246C; }
span { border-color: rgb(33,36,108); }
td.TdClassName
{
border-color: #21246C;
}
.TagClassName
{
border-color: #21246C;
}
</style>