#2A1F76

Color #2A1F76 Midnight Blue (background png icon) HTML CSS
Download Color Icon.PNG:
16x16 32x32 64x64 128x128

Shades of Midnight Blue #2A1F76

Tints of Midnight Blue #2A1F76

Color information

#2A1F76 (or 0x2A1F76) is unknown color: approx Midnight Blue. HEX triplet: 2A, 1F and 76. RGB value is (42,31,118). Sum of RGB (Red+Green+Blue) = 42+31+118=191 (25% of max value = 765). Red value is 42 (16.80% from 255 or 21.99% from 191); Green value is 31 (12.5% from 255 or 16.23% from 191); Blue value is 118 (46.48% from 255 or 61.78% from 191); Max value from RGB is 118 - color contains mainly: blue. Hex color #2A1F76 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A1F76 is #D5E089. Grayscale: #2B2B2B. Windows color (decimal): -14016650 or 7741226. OLE color: 7741226.

HSL color Cylindrical-coordinate representation of color #2A1F76: hue angle of 247.59º degrees, saturation: 0.58, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.46% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #2A1F76 is Cyan = 0.64, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.54.

Color convert

RGB4231118-
CMYK0.640.7400.54
HSL247.59º58.39%29.22%-
HSV(B)247.59º73.73%46.27%-
XYZ4.712.7817.43-
YUV44.21169.64126.43-

RGB Variations

RGB:
RBG:
GRB:
GBR:
BRG:
BGR:

RGB

RED value IS 42 (16.80% from 255) = 21.99%
GREEN value IS 31 (12.5% from 255) = 16.23%
BLUE value IS 118 (46.48% from 255) = 61.78%
R=21.99%
G=16.23%
B=61.78%

CMYK

C (Cyan) values IS 0.64
M (Magenta) values IS 0.74
Y (Yellow) values IS 0
K (Black) values IS 0.54
SystemRedGreenBlueCMYKHSL
Decimal42311180.640.7400.54247.5958.3929.22
Hex2A1F76404A036f83a1d
Octal52371661001120663707235
Binary1010101111111101101000000100101001101101111100011101011101

Black

1234567890 Text Example


1234567890 Text Example

White

1234567890 Text Example


1234567890 Text Example


Color Harmonies of #2A1F76

Triadic Colors

Analogous Colors

Split complements Colors

Complementary Color



HTML code & CSSWeb design

color css

<style>
 p { color: #2A1F76; }

 p { color: rgb(42,31,118); }

 H1.HeaderClassName
 {
   color: #2A1F76;
 }
 .AnyTagClassName
 {
   color: #2A1F76;
 }
</style>
background-color css

<style>
 a { background-color: #2A1F76; }

 a { background-color: rgb(42,31,118); }

 div.DivClassName
 {
   background-color: #2A1F76;
 }
 .BgClassName
 {
   background-color: #2A1F76;
 }
</style>
border-color css

<style>
 span { border-color: #2A1F76; }

 span { border-color: rgb(42,31,118); }

 td.TdClassName
 {
   border-color: #2A1F76;
 }
 .TagClassName
 {
   border-color: #2A1F76;
 }
</style>