COLOR #2E1B52

HEX: #2E1B52
RGB: (46,27,82)

Color info

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

RGB color model

#2E1B52 color RGB value is (46,27,82).

  • red value is 46;
  • green value is 27;
  • blue value is 82.
RGB:
(46,27,82)
(18%,11%,32%)

RGB channels and saturation

R 46 of 255 = 18%
G 27 of 255 = 11%
B 82 of 255 = 32%

46
27
82

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

Portions of RGB colors in percentages

R + G + B =
46 + 27 + 82 = 155 (100%)
R 46 of 155 ~ 29.68%
G 27 of 155 ~ 17.42%
B 82 of 155 ~ 52.9%

%29.68
%17.42
%52.9

CMYK color model

#2E1B52 color CMYK value is (44,67,0,68).

  • cyan value is 43.90%
  • magenta value is 67.07%
  • yellow value is 0.00%
  • key color value is 67.84%
CMYK:
(44,67,0,68)
C44M67Y0K68 
(44%,67%,0%,68%)
(0.44/0.67/0.00/0.68)	

CMYK percentages

%43.9
%67.07
%0
%67.84

Codes

Color #2E1B52 in popluar color models

2E1B52
RGB462782
HSL261°50.46%21.37%
HSB/HSV261°67.07%32.16%
CMYK43.90%67.07%0.00%
67.84%

Color #2E1B52 in popluar number systems.

HEX2E1B52
Decimal462782
Binary101110110111010010
Octal5633122

Shades and tints

Shades of #2E1B52

#2E1B52
(46,27,82)
#2A194B
(42,25,75)
#261744
(38,23,68)
#22153D
(34,21,61)
#1E1336
(30,19,54)
#1A112F
(26,17,47)
#160F28
(22,15,40)
#120D21
(18,13,33)
#0E0B1A
(14,11,26)
#0A0913
(10,9,19)
#06070C
(6,7,12)
#000000
(0,0,0)

Tints of #2E1B52

#2E1B52
(46,27,82)
#412F61
(65,47,97)
#544370
(84,67,112)
#67577F
(103,87,127)
#7A6B8E
(122,107,142)
#8D7F9D
(141,127,157)
#A093AC
(160,147,172)
#B3A7BB
(179,167,187)
#C6BBCA
(198,187,202)
#D9CFD9
(217,207,217)
#ECE3E8
(236,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2E1B52 color. Also use rgb(46,27,82) instead hex code.

Text Font Color

.myTextColor { color: #2E1B52; }

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

This text font color is #2E1B52.


Background Color

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

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

This div background color is #2E1B52.


Border color

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

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

This div border color is #2E1B52.


Opacity

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

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

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

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

This text has shadow with #2E1B52 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E1B52 on black background.


Color preview on white background

This text has color #2E1B52 on white background.



Black color preview on #2E1B52 background

This text has black color on #2E1B52 background.


White color preview on #2E1B52 background

This text has white color on #2E1B52 background.