Shades of Midnight #1B2C40
Tints of Midnight #1B2C40
RGB
CMYK
RGB Variations
Color information
#1B2C40 (or 0x1B2C40) is known color: Midnight. HEX triplet: 1B, 2C and 40. RGB value is (27,44,64). Sum of RGB (Red+Green+Blue) = 27+44+64=135 (17% of max value = 765). Red value is 27 (10.94% from 255 or 20% from 135); Green value is 44 (17.58% from 255 or 32.59% from 135); Blue value is 64 (25.39% from 255 or 47.41% from 135); Max value from RGB is 64 - color contains mainly: blue. Hex color #1B2C40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B2C40 is #E4D3BF. Grayscale: #292929. Windows color (decimal): -14996416 or 4205595. OLE color: 4205595.
HSL color Cylindrical-coordinate representation of color #1B2C40: hue angle of 212.43º 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 #1B2C40 is Cyan = 0.58, Magento = 0.31, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 27 | 44 | 64 | - |
| CMYK | 0.58 | 0.31 | 0 | 0.75 |
| HSL | 212.43º | 0.41% | 0.18% | - |
| HSV(B) | 212.43º | 0.58% | 0.25% | - |
| XYZ | 2.28 | 2.4 | 5.19 | - |
| YUV | 41.2 | 140.87 | 117.87 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 44 | 64 | 0.58 | 0.31 | 0 | 0.75 | 212.43 | 0.41 | 0.18 |
| Hex | 1B | 2C | 40 | 3A | 1F | 0 | 4B | D4 | 29 | 12 |
| Octal | 33 | 54 | 100 | 72 | 37 | 0 | 113 | 324 | 51 | 22 |
| Binary | 11011 | 101100 | 1000000 | 111010 | 11111 | 0 | 1001011 | 11010100 | 101001 | 10010 |
Color Harmonies of #1B2C40
Complementary color
Monochromatic Colors of #1B2C40
Black with #1B2C40
Text Example
Text Example
White with #1B2C40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2C40; }
p { color: rgb(27,44,64); }
H1.HeaderClassName
{
color: #1B2C40;
}
.AnyTagClassName
{
color: #1B2C40;
}
</style>
background-color css
<style>
a { background-color: #1B2C40; }
a { background-color: rgb(27,44,64); }
div.DivClassName
{
background-color: #1B2C40;
}
.BgClassName
{
background-color: #1B2C40;
}
</style>
border-color css
<style>
span { border-color: #1B2C40; }
span { border-color: rgb(27,44,64); }
td.TdClassName
{
border-color: #1B2C40;
}
.TagClassName
{
border-color: #1B2C40;
}
</style>