Shades of Midnight #1B2E46
Tints of Midnight #1B2E46
RGB
CMYK
RGB Variations
Color information
#1B2E46 (or 0x1B2E46) is known color: Midnight. HEX triplet: 1B, 2E and 46. RGB value is (27,46,70). Sum of RGB (Red+Green+Blue) = 27+46+70=143 (18% of max value = 765). Red value is 27 (10.94% from 255 or 18.88% from 143); Green value is 46 (18.36% from 255 or 32.17% from 143); Blue value is 70 (27.73% from 255 or 48.95% from 143); Max value from RGB is 70 - color contains mainly: blue. Hex color #1B2E46 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B2E46 is #E4D1B9. Grayscale: #2A2A2A. Windows color (decimal): -14995898 or 4599323. OLE color: 4599323.
HSL color Cylindrical-coordinate representation of color #1B2E46: hue angle of 213.49º degrees, saturation: 0.44, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.27% and HSV saturation: 0.61%. Process color model (Four color, CMYK) of #1B2E46 is Cyan = 0.61, Magento = 0.34, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 27 | 46 | 70 | - |
| CMYK | 0.61 | 0.34 | 0 | 0.73 |
| HSL | 213.49º | 0.44% | 0.19% | - |
| HSV(B) | 213.49º | 0.61% | 0.27% | - |
| XYZ | 2.53 | 2.63 | 6.17 | - |
| YUV | 43.06 | 143.21 | 116.55 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 46 | 70 | 0.61 | 0.34 | 0 | 0.73 | 213.49 | 0.44 | 0.19 |
| Hex | 1B | 2E | 46 | 3D | 22 | 0 | 49 | D5 | 2C | 13 |
| Octal | 33 | 56 | 106 | 75 | 42 | 0 | 111 | 325 | 54 | 23 |
| Binary | 11011 | 101110 | 1000110 | 111101 | 100010 | 0 | 1001001 | 11010101 | 101100 | 10011 |
Color Harmonies of #1B2E46
Complementary color
Monochromatic Colors of #1B2E46
Black with #1B2E46
Text Example
Text Example
White with #1B2E46
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2E46; }
p { color: rgb(27,46,70); }
H1.HeaderClassName
{
color: #1B2E46;
}
.AnyTagClassName
{
color: #1B2E46;
}
</style>
background-color css
<style>
a { background-color: #1B2E46; }
a { background-color: rgb(27,46,70); }
div.DivClassName
{
background-color: #1B2E46;
}
.BgClassName
{
background-color: #1B2E46;
}
</style>
border-color css
<style>
span { border-color: #1B2E46; }
span { border-color: rgb(27,46,70); }
td.TdClassName
{
border-color: #1B2E46;
}
.TagClassName
{
border-color: #1B2E46;
}
</style>