Shades of Midnight Blue #21256C
Tints of Midnight Blue #21256C
RGB
CMYK
RGB Variations
Color information
#21256C (or 0x21256C) is known color: Midnight Blue. HEX triplet: 21, 25 and 6C. RGB value is (33,37,108). Sum of RGB (Red+Green+Blue) = 33+37+108=178 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.54% from 178); Green value is 37 (14.84% from 255 or 20.79% from 178); Blue value is 108 (42.58% from 255 or 60.67% from 178); Max value from RGB is 108 - color contains mainly: blue. Hex color #21256C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21256C is #DEDA93. Grayscale: #2B2B2B. Windows color (decimal): -14604948 or 7087393. OLE color: 7087393.
HSL color Cylindrical-coordinate representation of color #21256C: hue angle of 236.8º 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 #21256C is Cyan = 0.69, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 33 | 37 | 108 | - |
| CMYK | 0.69 | 0.66 | 0 | 0.58 |
| HSL | 236.8º | 0.53% | 0.28% | - |
| HSV(B) | 236.8º | 0.69% | 0.42% | - |
| XYZ | 4 | 2.73 | 14.5 | - |
| YUV | 43.9 | 164.17 | 120.23 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 37 | 108 | 0.69 | 0.66 | 0 | 0.58 | 236.8 | 0.53 | 0.28 |
| Hex | 21 | 25 | 6C | 45 | 42 | 0 | 3A | ED | 35 | 1C |
| Octal | 41 | 45 | 154 | 105 | 102 | 0 | 72 | 355 | 65 | 34 |
| Binary | 100001 | 100101 | 1101100 | 1000101 | 1000010 | 0 | 111010 | 11101101 | 110101 | 11100 |
Color Harmonies of #21256C
Complementary color
Monochromatic Colors of #21256C
Black with #21256C
Text Example
Text Example
White with #21256C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21256C; }
p { color: rgb(33,37,108); }
H1.HeaderClassName
{
color: #21256C;
}
.AnyTagClassName
{
color: #21256C;
}
</style>
background-color css
<style>
a { background-color: #21256C; }
a { background-color: rgb(33,37,108); }
div.DivClassName
{
background-color: #21256C;
}
.BgClassName
{
background-color: #21256C;
}
</style>
border-color css
<style>
span { border-color: #21256C; }
span { border-color: rgb(33,37,108); }
td.TdClassName
{
border-color: #21256C;
}
.TagClassName
{
border-color: #21256C;
}
</style>