Shades of Midnight #1B2A46
Tints of Midnight #1B2A46
RGB
CMYK
RGB Variations
Color information
#1B2A46 (or 0x1B2A46) is known color: Midnight. HEX triplet: 1B, 2A and 46. RGB value is (27,42,70). Sum of RGB (Red+Green+Blue) = 27+42+70=139 (18% of max value = 765). Red value is 27 (10.94% from 255 or 19.42% from 139); Green value is 42 (16.80% from 255 or 30.22% from 139); Blue value is 70 (27.73% from 255 or 50.36% from 139); Max value from RGB is 70 - color contains mainly: blue. Hex color #1B2A46 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B2A46 is #E4D5B9. Grayscale: #282828. Windows color (decimal): -14996922 or 4598299. OLE color: 4598299.
HSL color Cylindrical-coordinate representation of color #1B2A46: hue angle of 219.07º 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 #1B2A46 is Cyan = 0.61, Magento = 0.40, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 27 | 42 | 70 | - |
| CMYK | 0.61 | 0.40 | 0 | 0.73 |
| HSL | 219.07º | 0.44% | 0.19% | - |
| HSV(B) | 219.07º | 0.61% | 0.27% | - |
| XYZ | 2.39 | 2.33 | 6.12 | - |
| YUV | 40.71 | 144.53 | 118.22 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 42 | 70 | 0.61 | 0.40 | 0 | 0.73 | 219.07 | 0.44 | 0.19 |
| Hex | 1B | 2A | 46 | 3D | 28 | 0 | 49 | DB | 2C | 13 |
| Octal | 33 | 52 | 106 | 75 | 50 | 0 | 111 | 333 | 54 | 23 |
| Binary | 11011 | 101010 | 1000110 | 111101 | 101000 | 0 | 1001001 | 11011011 | 101100 | 10011 |
Color Harmonies of #1B2A46
Complementary color
Monochromatic Colors of #1B2A46
Black with #1B2A46
Text Example
Text Example
White with #1B2A46
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2A46; }
p { color: rgb(27,42,70); }
H1.HeaderClassName
{
color: #1B2A46;
}
.AnyTagClassName
{
color: #1B2A46;
}
</style>
background-color css
<style>
a { background-color: #1B2A46; }
a { background-color: rgb(27,42,70); }
div.DivClassName
{
background-color: #1B2A46;
}
.BgClassName
{
background-color: #1B2A46;
}
</style>
border-color css
<style>
span { border-color: #1B2A46; }
span { border-color: rgb(27,42,70); }
td.TdClassName
{
border-color: #1B2A46;
}
.TagClassName
{
border-color: #1B2A46;
}
</style>