Shades of Midnight #1F2B40
Tints of Midnight #1F2B40
RGB
CMYK
RGB Variations
Color information
#1F2B40 (or 0x1F2B40) is known color: Midnight. HEX triplet: 1F, 2B and 40. RGB value is (31,43,64). Sum of RGB (Red+Green+Blue) = 31+43+64=138 (18% of max value = 765). Red value is 31 (12.5% from 255 or 22.46% from 138); Green value is 43 (17.19% from 255 or 31.16% from 138); Blue value is 64 (25.39% from 255 or 46.38% from 138); Max value from RGB is 64 - color contains mainly: blue. Hex color #1F2B40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2B40 is #E0D4BF. Grayscale: #292929. Windows color (decimal): -14734528 or 4205343. OLE color: 4205343.
HSL color Cylindrical-coordinate representation of color #1F2B40: hue angle of 218.18º 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 #1F2B40 is Cyan = 0.52, Magento = 0.33, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 31 | 43 | 64 | - |
| CMYK | 0.52 | 0.33 | 0 | 0.75 |
| HSL | 218.18º | 0.35% | 0.19% | - |
| HSV(B) | 218.18º | 0.52% | 0.25% | - |
| XYZ | 2.35 | 2.39 | 5.19 | - |
| YUV | 41.81 | 140.52 | 120.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 43 | 64 | 0.52 | 0.33 | 0 | 0.75 | 218.18 | 0.35 | 0.19 |
| Hex | 1F | 2B | 40 | 34 | 21 | 0 | 4B | DA | 23 | 13 |
| Octal | 37 | 53 | 100 | 64 | 41 | 0 | 113 | 332 | 43 | 23 |
| Binary | 11111 | 101011 | 1000000 | 110100 | 100001 | 0 | 1001011 | 11011010 | 100011 | 10011 |
Color Harmonies of #1F2B40
Complementary color
Monochromatic Colors of #1F2B40
Black with #1F2B40
Text Example
Text Example
White with #1F2B40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2B40; }
p { color: rgb(31,43,64); }
H1.HeaderClassName
{
color: #1F2B40;
}
.AnyTagClassName
{
color: #1F2B40;
}
</style>
background-color css
<style>
a { background-color: #1F2B40; }
a { background-color: rgb(31,43,64); }
div.DivClassName
{
background-color: #1F2B40;
}
.BgClassName
{
background-color: #1F2B40;
}
</style>
border-color css
<style>
span { border-color: #1F2B40; }
span { border-color: rgb(31,43,64); }
td.TdClassName
{
border-color: #1F2B40;
}
.TagClassName
{
border-color: #1F2B40;
}
</style>