Shades of Midnight #1B2E40
Tints of Midnight #1B2E40
RGB
CMYK
RGB Variations
Color information
#1B2E40 (or 0x1B2E40) is known color: Midnight. HEX triplet: 1B, 2E and 40. RGB value is (27,46,64). Sum of RGB (Red+Green+Blue) = 27+46+64=137 (18% of max value = 765). Red value is 27 (10.94% from 255 or 19.71% from 137); Green value is 46 (18.36% from 255 or 33.58% from 137); Blue value is 64 (25.39% from 255 or 46.72% from 137); Max value from RGB is 64 - color contains mainly: blue. Hex color #1B2E40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B2E40 is #E4D1BF. Grayscale: #2A2A2A. Windows color (decimal): -14995904 or 4206107. OLE color: 4206107.
HSL color Cylindrical-coordinate representation of color #1B2E40: hue angle of 209.19º degrees, saturation: 0.41, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.58%. Process color model (Four color, CMYK) of #1B2E40 is Cyan = 0.58, Magento = 0.28, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 27 | 46 | 64 | - |
| CMYK | 0.58 | 0.28 | 0 | 0.75 |
| HSL | 209.19º | 0.41% | 0.18% | - |
| HSV(B) | 209.19º | 0.58% | 0.25% | - |
| XYZ | 2.35 | 2.56 | 5.22 | - |
| YUV | 42.37 | 140.21 | 117.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 46 | 64 | 0.58 | 0.28 | 0 | 0.75 | 209.19 | 0.41 | 0.18 |
| Hex | 1B | 2E | 40 | 3A | 1C | 0 | 4B | D1 | 29 | 12 |
| Octal | 33 | 56 | 100 | 72 | 34 | 0 | 113 | 321 | 51 | 22 |
| Binary | 11011 | 101110 | 1000000 | 111010 | 11100 | 0 | 1001011 | 11010001 | 101001 | 10010 |
Color Harmonies of #1B2E40
Complementary color
Monochromatic Colors of #1B2E40
Black with #1B2E40
Text Example
Text Example
White with #1B2E40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2E40; }
p { color: rgb(27,46,64); }
H1.HeaderClassName
{
color: #1B2E40;
}
.AnyTagClassName
{
color: #1B2E40;
}
</style>
background-color css
<style>
a { background-color: #1B2E40; }
a { background-color: rgb(27,46,64); }
div.DivClassName
{
background-color: #1B2E40;
}
.BgClassName
{
background-color: #1B2E40;
}
</style>
border-color css
<style>
span { border-color: #1B2E40; }
span { border-color: rgb(27,46,64); }
td.TdClassName
{
border-color: #1B2E40;
}
.TagClassName
{
border-color: #1B2E40;
}
</style>