Shades of Midnight Blue #1F0C78
Tints of Midnight Blue #1F0C78
RGB
CMYK
RGB Variations
Color information
#1F0C78 (or 0x1F0C78) is known color: Midnight Blue. HEX triplet: 1F, 0C and 78. RGB value is (31,12,120). Sum of RGB (Red+Green+Blue) = 31+12+120=163 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.02% from 163); Green value is 12 (5.08% from 255 or 7.36% from 163); Blue value is 120 (47.27% from 255 or 73.62% from 163); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F0C78 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F0C78 is #E0F387. Grayscale: #1D1D1D. Windows color (decimal): -14742408 or 7867423. OLE color: 7867423.
HSL color Cylindrical-coordinate representation of color #1F0C78: hue angle of 250.56º degrees, saturation: 0.82, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #1F0C78 is Cyan = 0.74, Magento = 0.90, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 12 | 120 | - |
| CMYK | 0.74 | 0.90 | 0 | 0.53 |
| HSL | 250.56º | 0.82% | 0.26% | - |
| HSV(B) | 250.56º | 0.9% | 0.47% | - |
| XYZ | 4.09 | 1.91 | 17.92 | - |
| YUV | 29.99 | 178.79 | 128.72 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 12 | 120 | 0.74 | 0.90 | 0 | 0.53 | 250.56 | 0.82 | 0.26 |
| Hex | 1F | C | 78 | 4A | 5A | 0 | 35 | FB | 52 | 1A |
| Octal | 37 | 14 | 170 | 112 | 132 | 0 | 65 | 373 | 122 | 32 |
| Binary | 11111 | 1100 | 1111000 | 1001010 | 1011010 | 0 | 110101 | 11111011 | 1010010 | 11010 |
Color Harmonies of #1F0C78
Complementary color
Monochromatic Colors of #1F0C78
Black with #1F0C78
Text Example
Text Example
White with #1F0C78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F0C78; }
p { color: rgb(31,12,120); }
H1.HeaderClassName
{
color: #1F0C78;
}
.AnyTagClassName
{
color: #1F0C78;
}
</style>
background-color css
<style>
a { background-color: #1F0C78; }
a { background-color: rgb(31,12,120); }
div.DivClassName
{
background-color: #1F0C78;
}
.BgClassName
{
background-color: #1F0C78;
}
</style>
border-color css
<style>
span { border-color: #1F0C78; }
span { border-color: rgb(31,12,120); }
td.TdClassName
{
border-color: #1F0C78;
}
.TagClassName
{
border-color: #1F0C78;
}
</style>