COLOR #2E2A5F

HEX: #2E2A5F
RGB: (46,42,95)

Color info

#2E2A5F contains red, green and blue colors in about the same proportion. Web safe color of #2E2A5F is #333366 (or #336).

RGB color model

#2E2A5F color RGB value is (46,42,95).

  • red value is 46;
  • green value is 42;
  • blue value is 95.
RGB:
(46,42,95)
(18%,16%,37%)

RGB channels and saturation

R 46 of 255 = 18%
G 42 of 255 = 16%
B 95 of 255 = 37%

46
42
95

R + G + B ~ 24%. #2E2A5F is dark color.

Portions of RGB colors in percentages

R + G + B =
46 + 42 + 95 = 183 (100%)
R 46 of 183 ~ 25.14%
G 42 of 183 ~ 22.95%
B 95 of 183 ~ 51.91%

%25.14
%22.95
%51.91

CMYK color model

#2E2A5F color CMYK value is (52,56,0,63).

  • cyan value is 51.58%
  • magenta value is 55.79%
  • yellow value is 0.00%
  • key color value is 62.75%
CMYK:
(52,56,0,63)
C52M56Y0K63 
(52%,56%,0%,63%)
(0.52/0.56/0.00/0.63)	

CMYK percentages

%51.58
%55.79
%0
%62.75

Codes

Color #2E2A5F in popluar color models

2E2A5F
RGB464295
HSL245°38.69%26.86%
HSB/HSV245°55.79%37.25%
CMYK51.58%55.79%0.00%
62.75%

Color #2E2A5F in popluar number systems.

HEX2E2A5F
Decimal464295
Binary1011101010101011111
Octal5652137

Shades and tints

Shades of #2E2A5F

#2E2A5F
(46,42,95)
#2A2757
(42,39,87)
#26244F
(38,36,79)
#222147
(34,33,71)
#1E1E3F
(30,30,63)
#1A1B37
(26,27,55)
#16182F
(22,24,47)
#121527
(18,21,39)
#0E121F
(14,18,31)
#0A0F17
(10,15,23)
#060C0F
(6,12,15)
#000000
(0,0,0)

Tints of #2E2A5F

#2E2A5F
(46,42,95)
#413D6D
(65,61,109)
#54507B
(84,80,123)
#676389
(103,99,137)
#7A7697
(122,118,151)
#8D89A5
(141,137,165)
#A09CB3
(160,156,179)
#B3AFC1
(179,175,193)
#C6C2CF
(198,194,207)
#D9D5DD
(217,213,221)
#ECE8EB
(236,232,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2E2A5F color. Also use rgb(46,42,95) instead hex code.

Text Font Color

.myTextColor { color: #2E2A5F; }

<p style="color:#2E2A5F">This sample text font color is #2E2A5F.</p>

This text font color is #2E2A5F.


Background Color

.myBgColor { background-color: #2E2A5F; }

<div style="background-color:#2E2A5F">Inner text</div>

This div background color is #2E2A5F.


Border color

.myBorderColor { border: 1px solid #2E2A5F; }

<div style="border:3px solid #2E2A5F">Div</div>

This div border color is #2E2A5F.


Opacity

.myOpacity80 { color: #2E2A5F; opacity: 0.8; }

<p style="color:#2E2A5F;opacity:0.8;">80%</p>

Text with #2E2A5F color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #2E2A5F;}

<p style="text-shadow: 3px 3px 1px #2E2A5F">Text here.</p>

This text has shadow with #2E2A5F color.

.textShadow {text-shadow: 3px 3px 1px #2E2A5F, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #2E2A5F, 5px 5px 20px red">Text here.</p>

This text has shadow with #2E2A5F primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2E2A5F, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#2E2A5F, Direction=45, Strength=4)">Text</p>

This text has shadow with #2E2A5F and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #2E2A5F;
  -webkit-box-shadow:	1px 1px 3px 2px #2E2A5F;
  box-shadow:		1px 1px 3px 2px #2E2A5F;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #2E2A5F;
-webkit-box-shadow: 1px 1px 3px 2px #2E2A5F;
box-shadow:1px 1px 3px 2px #2E2A5F;">
Div content here</div>
This div box has shadow with color #2E2A5F.

Preview

Color preview on black background

This text has color #2E2A5F on black background.


Color preview on white background

This text has color #2E2A5F on white background.



Black color preview on #2E2A5F background

This text has black color on #2E2A5F background.


White color preview on #2E2A5F background

This text has white color on #2E2A5F background.