Shades of Midnight Blue #1F1978
Tints of Midnight Blue #1F1978
RGB
CMYK
RGB Variations
Color information
#1F1978 (or 0x1F1978) is known color: Midnight Blue. HEX triplet: 1F, 19 and 78. RGB value is (31,25,120). Sum of RGB (Red+Green+Blue) = 31+25+120=176 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.61% from 176); Green value is 25 (10.16% from 255 or 14.20% from 176); Blue value is 120 (47.27% from 255 or 68.18% from 176); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F1978 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1978 is #E0E687. Grayscale: #252525. Windows color (decimal): -14739080 or 7870751. OLE color: 7870751.
HSL color Cylindrical-coordinate representation of color #1F1978: hue angle of 243.79º degrees, saturation: 0.66, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #1F1978 is Cyan = 0.74, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 25 | 120 | - |
| CMYK | 0.74 | 0.79 | 0 | 0.53 |
| HSL | 243.79º | 0.66% | 0.28% | - |
| HSV(B) | 243.79º | 0.79% | 0.47% | - |
| XYZ | 4.3 | 2.34 | 17.99 | - |
| YUV | 37.62 | 174.49 | 123.28 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 25 | 120 | 0.74 | 0.79 | 0 | 0.53 | 243.79 | 0.66 | 0.28 |
| Hex | 1F | 19 | 78 | 4A | 4F | 0 | 35 | F4 | 42 | 1C |
| Octal | 37 | 31 | 170 | 112 | 117 | 0 | 65 | 364 | 102 | 34 |
| Binary | 11111 | 11001 | 1111000 | 1001010 | 1001111 | 0 | 110101 | 11110100 | 1000010 | 11100 |
Color Harmonies of #1F1978
Complementary color
Monochromatic Colors of #1F1978
Black with #1F1978
Text Example
Text Example
White with #1F1978
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1978; }
p { color: rgb(31,25,120); }
H1.HeaderClassName
{
color: #1F1978;
}
.AnyTagClassName
{
color: #1F1978;
}
</style>
background-color css
<style>
a { background-color: #1F1978; }
a { background-color: rgb(31,25,120); }
div.DivClassName
{
background-color: #1F1978;
}
.BgClassName
{
background-color: #1F1978;
}
</style>
border-color css
<style>
span { border-color: #1F1978; }
span { border-color: rgb(31,25,120); }
td.TdClassName
{
border-color: #1F1978;
}
.TagClassName
{
border-color: #1F1978;
}
</style>