Shades of Midnight #1F2F41
Tints of Midnight #1F2F41
RGB
CMYK
RGB Variations
Color information
#1F2F41 (or 0x1F2F41) is known color: Midnight. HEX triplet: 1F, 2F and 41. RGB value is (31,47,65). Sum of RGB (Red+Green+Blue) = 31+47+65=143 (18% of max value = 765). Red value is 31 (12.5% from 255 or 21.68% from 143); Green value is 47 (18.75% from 255 or 32.87% from 143); Blue value is 65 (25.78% from 255 or 45.45% from 143); Max value from RGB is 65 - color contains mainly: blue. Hex color #1F2F41 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2F41 is #E0D0BE. Grayscale: #2C2C2C. Windows color (decimal): -14733503 or 4271903. OLE color: 4271903.
HSL color Cylindrical-coordinate representation of color #1F2F41: hue angle of 211.76º degrees, saturation: 0.35, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.52%. Process color model (Four color, CMYK) of #1F2F41 is Cyan = 0.52, Magento = 0.28, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 31 | 47 | 65 | - |
| CMYK | 0.52 | 0.28 | 0 | 0.75 |
| HSL | 211.76º | 0.35% | 0.19% | - |
| HSV(B) | 211.76º | 0.52% | 0.25% | - |
| XYZ | 2.54 | 2.71 | 5.39 | - |
| YUV | 44.27 | 139.7 | 118.54 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 47 | 65 | 0.52 | 0.28 | 0 | 0.75 | 211.76 | 0.35 | 0.19 |
| Hex | 1F | 2F | 41 | 34 | 1C | 0 | 4B | D4 | 23 | 13 |
| Octal | 37 | 57 | 101 | 64 | 34 | 0 | 113 | 324 | 43 | 23 |
| Binary | 11111 | 101111 | 1000001 | 110100 | 11100 | 0 | 1001011 | 11010100 | 100011 | 10011 |
Color Harmonies of #1F2F41
Complementary color
Monochromatic Colors of #1F2F41
Black with #1F2F41
Text Example
Text Example
White with #1F2F41
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2F41; }
p { color: rgb(31,47,65); }
H1.HeaderClassName
{
color: #1F2F41;
}
.AnyTagClassName
{
color: #1F2F41;
}
</style>
background-color css
<style>
a { background-color: #1F2F41; }
a { background-color: rgb(31,47,65); }
div.DivClassName
{
background-color: #1F2F41;
}
.BgClassName
{
background-color: #1F2F41;
}
</style>
border-color css
<style>
span { border-color: #1F2F41; }
span { border-color: rgb(31,47,65); }
td.TdClassName
{
border-color: #1F2F41;
}
.TagClassName
{
border-color: #1F2F41;
}
</style>