Shades of Midnight #1A2F4E
Tints of Midnight #1A2F4E
RGB
CMYK
RGB Variations
Color information
#1A2F4E (or 0x1A2F4E) is known color: Midnight. HEX triplet: 1A, 2F and 4E. RGB value is (26,47,78). Sum of RGB (Red+Green+Blue) = 26+47+78=151 (20% of max value = 765). Red value is 26 (10.55% from 255 or 17.22% from 151); Green value is 47 (18.75% from 255 or 31.13% from 151); Blue value is 78 (30.86% from 255 or 51.66% from 151); Max value from RGB is 78 - color contains mainly: blue. Hex color #1A2F4E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1A2F4E is #E5D0B1. Grayscale: #2C2C2C. Windows color (decimal): -15061170 or 5123866. OLE color: 5123866.
HSL color Cylindrical-coordinate representation of color #1A2F4E: hue angle of 215.77º degrees, saturation: 0.5, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.67%. Process color model (Four color, CMYK) of #1A2F4E is Cyan = 0.67, Magento = 0.40, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 26 | 47 | 78 | - |
| CMYK | 0.67 | 0.40 | 0 | 0.69 |
| HSL | 215.77º | 0.5% | 0.2% | - |
| HSV(B) | 215.77º | 0.67% | 0.31% | - |
| XYZ | 2.82 | 2.8 | 7.6 | - |
| YUV | 44.26 | 147.04 | 114.98 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 47 | 78 | 0.67 | 0.40 | 0 | 0.69 | 215.77 | 0.5 | 0.2 |
| Hex | 1A | 2F | 4E | 43 | 28 | 0 | 45 | D8 | 32 | 14 |
| Octal | 32 | 57 | 116 | 103 | 50 | 0 | 105 | 330 | 62 | 24 |
| Binary | 11010 | 101111 | 1001110 | 1000011 | 101000 | 0 | 1000101 | 11011000 | 110010 | 10100 |
Color Harmonies of #1A2F4E
Complementary color
Monochromatic Colors of #1A2F4E
Black with #1A2F4E
Text Example
Text Example
White with #1A2F4E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A2F4E; }
p { color: rgb(26,47,78); }
H1.HeaderClassName
{
color: #1A2F4E;
}
.AnyTagClassName
{
color: #1A2F4E;
}
</style>
background-color css
<style>
a { background-color: #1A2F4E; }
a { background-color: rgb(26,47,78); }
div.DivClassName
{
background-color: #1A2F4E;
}
.BgClassName
{
background-color: #1A2F4E;
}
</style>
border-color css
<style>
span { border-color: #1A2F4E; }
span { border-color: rgb(26,47,78); }
td.TdClassName
{
border-color: #1A2F4E;
}
.TagClassName
{
border-color: #1A2F4E;
}
</style>