Shades of Midnight Blue #20157C
Tints of Midnight Blue #20157C
RGB
CMYK
RGB Variations
Color information
#20157C (or 0x20157C) is known color: Midnight Blue. HEX triplet: 20, 15 and 7C. RGB value is (32,21,124). Sum of RGB (Red+Green+Blue) = 32+21+124=177 (23% of max value = 765). Red value is 32 (12.89% from 255 or 18.08% from 177); Green value is 21 (8.59% from 255 or 11.86% from 177); Blue value is 124 (48.83% from 255 or 70.06% from 177); Max value from RGB is 124 - color contains mainly: blue. Hex color #20157C is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20157C is #DFEA83. Grayscale: #232323. Windows color (decimal): -14674564 or 8131872. OLE color: 8131872.
HSL color Cylindrical-coordinate representation of color #20157C: hue angle of 246.41º degrees, saturation: 0.71, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #20157C is Cyan = 0.74, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 32 | 21 | 124 | - |
| CMYK | 0.74 | 0.83 | 0 | 0.51 |
| HSL | 246.41º | 0.71% | 0.28% | - |
| HSV(B) | 246.41º | 0.83% | 0.49% | - |
| XYZ | 4.5 | 2.3 | 19.28 | - |
| YUV | 36.03 | 177.64 | 125.12 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 21 | 124 | 0.74 | 0.83 | 0 | 0.51 | 246.41 | 0.71 | 0.28 |
| Hex | 20 | 15 | 7C | 4A | 53 | 0 | 33 | F6 | 47 | 1C |
| Octal | 40 | 25 | 174 | 112 | 123 | 0 | 63 | 366 | 107 | 34 |
| Binary | 100000 | 10101 | 1111100 | 1001010 | 1010011 | 0 | 110011 | 11110110 | 1000111 | 11100 |
Color Harmonies of #20157C
Complementary color
Monochromatic Colors of #20157C
Black with #20157C
Text Example
Text Example
White with #20157C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20157C; }
p { color: rgb(32,21,124); }
H1.HeaderClassName
{
color: #20157C;
}
.AnyTagClassName
{
color: #20157C;
}
</style>
background-color css
<style>
a { background-color: #20157C; }
a { background-color: rgb(32,21,124); }
div.DivClassName
{
background-color: #20157C;
}
.BgClassName
{
background-color: #20157C;
}
</style>
border-color css
<style>
span { border-color: #20157C; }
span { border-color: rgb(32,21,124); }
td.TdClassName
{
border-color: #20157C;
}
.TagClassName
{
border-color: #20157C;
}
</style>