Shades of Midnight #1F3048
Tints of Midnight #1F3048
RGB
CMYK
RGB Variations
Color information
#1F3048 (or 0x1F3048) is known color: Midnight. HEX triplet: 1F, 30 and 48. RGB value is (31,48,72). Sum of RGB (Red+Green+Blue) = 31+48+72=151 (20% of max value = 765). Red value is 31 (12.5% from 255 or 20.53% from 151); Green value is 48 (19.14% from 255 or 31.79% from 151); Blue value is 72 (28.52% from 255 or 47.68% from 151); Max value from RGB is 72 - color contains mainly: blue. Hex color #1F3048 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F3048 is #E0CFB7. Grayscale: #2D2D2D. Windows color (decimal): -14733240 or 4730911. OLE color: 4730911.
HSL color Cylindrical-coordinate representation of color #1F3048: hue angle of 215.12º degrees, saturation: 0.4, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 0.57%. Process color model (Four color, CMYK) of #1F3048 is Cyan = 0.57, Magento = 0.33, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 31 | 48 | 72 | - |
| CMYK | 0.57 | 0.33 | 0 | 0.72 |
| HSL | 215.12º | 0.4% | 0.2% | - |
| HSV(B) | 215.12º | 0.57% | 0.28% | - |
| XYZ | 2.79 | 2.87 | 6.54 | - |
| YUV | 45.65 | 142.87 | 117.55 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 48 | 72 | 0.57 | 0.33 | 0 | 0.72 | 215.12 | 0.4 | 0.2 |
| Hex | 1F | 30 | 48 | 39 | 21 | 0 | 48 | D7 | 28 | 14 |
| Octal | 37 | 60 | 110 | 71 | 41 | 0 | 110 | 327 | 50 | 24 |
| Binary | 11111 | 110000 | 1001000 | 111001 | 100001 | 0 | 1001000 | 11010111 | 101000 | 10100 |
Color Harmonies of #1F3048
Complementary color
Monochromatic Colors of #1F3048
Black with #1F3048
Text Example
Text Example
White with #1F3048
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F3048; }
p { color: rgb(31,48,72); }
H1.HeaderClassName
{
color: #1F3048;
}
.AnyTagClassName
{
color: #1F3048;
}
</style>
background-color css
<style>
a { background-color: #1F3048; }
a { background-color: rgb(31,48,72); }
div.DivClassName
{
background-color: #1F3048;
}
.BgClassName
{
background-color: #1F3048;
}
</style>
border-color css
<style>
span { border-color: #1F3048; }
span { border-color: rgb(31,48,72); }
td.TdClassName
{
border-color: #1F3048;
}
.TagClassName
{
border-color: #1F3048;
}
</style>