Shades of Midnight #252F40
Tints of Midnight #252F40
RGB
CMYK
RGB Variations
Color information
#252F40 (or 0x252F40) is known color: Midnight. HEX triplet: 25, 2F and 40. RGB value is (37,47,64). Sum of RGB (Red+Green+Blue) = 37+47+64=148 (19% of max value = 765). Red value is 37 (14.84% from 255 or 25% from 148); Green value is 47 (18.75% from 255 or 31.76% from 148); Blue value is 64 (25.39% from 255 or 43.24% from 148); Max value from RGB is 64 - color contains mainly: blue. Hex color #252F40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #252F40 is #DAD0BF. Grayscale: #2D2D2D. Windows color (decimal): -14340288 or 4206373. OLE color: 4206373.
HSL color Cylindrical-coordinate representation of color #252F40: hue angle of 217.78º degrees, saturation: 0.27, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.42%. Process color model (Four color, CMYK) of #252F40 is Cyan = 0.42, Magento = 0.27, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 37 | 47 | 64 | - |
| CMYK | 0.42 | 0.27 | 0 | 0.75 |
| HSL | 217.78º | 0.27% | 0.2% | - |
| HSV(B) | 217.78º | 0.42% | 0.25% | - |
| XYZ | 2.7 | 2.8 | 5.25 | - |
| YUV | 45.95 | 138.19 | 121.62 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 37 | 47 | 64 | 0.42 | 0.27 | 0 | 0.75 | 217.78 | 0.27 | 0.2 |
| Hex | 25 | 2F | 40 | 2A | 1B | 0 | 4B | DA | 1B | 14 |
| Octal | 45 | 57 | 100 | 52 | 33 | 0 | 113 | 332 | 33 | 24 |
| Binary | 100101 | 101111 | 1000000 | 101010 | 11011 | 0 | 1001011 | 11011010 | 11011 | 10100 |
Color Harmonies of #252F40
Complementary color
Monochromatic Colors of #252F40
Black with #252F40
Text Example
Text Example
White with #252F40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #252F40; }
p { color: rgb(37,47,64); }
H1.HeaderClassName
{
color: #252F40;
}
.AnyTagClassName
{
color: #252F40;
}
</style>
background-color css
<style>
a { background-color: #252F40; }
a { background-color: rgb(37,47,64); }
div.DivClassName
{
background-color: #252F40;
}
.BgClassName
{
background-color: #252F40;
}
</style>
border-color css
<style>
span { border-color: #252F40; }
span { border-color: rgb(37,47,64); }
td.TdClassName
{
border-color: #252F40;
}
.TagClassName
{
border-color: #252F40;
}
</style>