COLOR #2E1951

HEX: #2E1951
RGB: (46,25,81)

Color info

#2E1951 contains red, green and blue colors in about the same proportion. Web safe color of #2E1951 is #330066 (or #306).

RGB color model

#2E1951 color RGB value is (46,25,81).

  • red value is 46;
  • green value is 25;
  • blue value is 81.
RGB:
(46,25,81)
(18%,10%,32%)

RGB channels and saturation

R 46 of 255 = 18%
G 25 of 255 = 10%
B 81 of 255 = 32%

46
25
81

R + G + B ~ 20%. #2E1951 is dark color.

Portions of RGB colors in percentages

R + G + B =
46 + 25 + 81 = 152 (100%)
R 46 of 152 ~ 30.26%
G 25 of 152 ~ 16.45%
B 81 of 152 ~ 53.29%

%30.26
%16.45
%53.29

CMYK color model

#2E1951 color CMYK value is (43,69,0,68).

  • cyan value is 43.21%
  • magenta value is 69.14%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(43,69,0,68)
C43M69Y0K68 
(43%,69%,0%,68%)
(0.43/0.69/0.00/0.68)	

CMYK percentages

%43.21
%69.14
%0
%68.24

Codes

Color #2E1951 in popluar color models

2E1951
RGB462581
HSL263°52.83%20.78%
HSB/HSV263°69.14%31.76%
CMYK43.21%69.14%0.00%
68.24%

Color #2E1951 in popluar number systems.

HEX2E1951
Decimal462581
Binary101110110011010001
Octal5631121

Shades and tints

Shades of #2E1951

#2E1951
(46,25,81)
#2A174A
(42,23,74)
#261543
(38,21,67)
#22133C
(34,19,60)
#1E1135
(30,17,53)
#1A0F2E
(26,15,46)
#160D27
(22,13,39)
#120B20
(18,11,32)
#0E0919
(14,9,25)
#0A0712
(10,7,18)
#06050B
(6,5,11)
#000000
(0,0,0)

Tints of #2E1951

#2E1951
(46,25,81)
#412D60
(65,45,96)
#54416F
(84,65,111)
#67557E
(103,85,126)
#7A698D
(122,105,141)
#8D7D9C
(141,125,156)
#A091AB
(160,145,171)
#B3A5BA
(179,165,186)
#C6B9C9
(198,185,201)
#D9CDD8
(217,205,216)
#ECE1E7
(236,225,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2E1951 color. Also use rgb(46,25,81) instead hex code.

Text Font Color

.myTextColor { color: #2E1951; }

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

This text font color is #2E1951.


Background Color

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

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

This div background color is #2E1951.


Border color

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

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

This div border color is #2E1951.


Opacity

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

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

Text with #2E1951 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 #2E1951;}

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

This text has shadow with #2E1951 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E1951 on black background.


Color preview on white background

This text has color #2E1951 on white background.



Black color preview on #2E1951 background

This text has black color on #2E1951 background.


White color preview on #2E1951 background

This text has white color on #2E1951 background.