COLOR #2E1B40

HEX: #2E1B40
RGB: (46,27,64)

Color info

#2E1B40 contains red, green and blue colors in about the same proportion. Web safe color of #2E1B40 is #333333 (or #333).

RGB color model

#2E1B40 color RGB value is (46,27,64).

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

RGB channels and saturation

R 46 of 255 = 18%
G 27 of 255 = 11%
B 64 of 255 = 25%

46
27
64

R + G + B ~ 18%. #2E1B40 is dark color.

Portions of RGB colors in percentages

R + G + B =
46 + 27 + 64 = 137 (100%)
R 46 of 137 ~ 33.58%
G 27 of 137 ~ 19.71%
B 64 of 137 ~ 46.72%

%33.58
%19.71
%46.72

CMYK color model

#2E1B40 color CMYK value is (28,58,0,75).

  • cyan value is 28.13%
  • magenta value is 57.81%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(28,58,0,75)
C28M58Y0K75 
(28%,58%,0%,75%)
(0.28/0.58/0.00/0.75)	

CMYK percentages

%28.13
%57.81
%0
%74.9

Codes

Color #2E1B40 in popluar color models

2E1B40
RGB462764
HSL271°40.66%17.84%
HSB/HSV271°57.81%25.10%
CMYK28.13%57.81%0.00%
74.90%

Color #2E1B40 in popluar number systems.

HEX2E1B40
Decimal462764
Binary101110110111000000
Octal5633100

Shades and tints

Shades of #2E1B40

#2E1B40
(46,27,64)
#2A193B
(42,25,59)
#261736
(38,23,54)
#221531
(34,21,49)
#1E132C
(30,19,44)
#1A1127
(26,17,39)
#160F22
(22,15,34)
#120D1D
(18,13,29)
#0E0B18
(14,11,24)
#0A0913
(10,9,19)
#06070E
(6,7,14)
#000000
(0,0,0)

Tints of #2E1B40

#2E1B40
(46,27,64)
#412F51
(65,47,81)
#544362
(84,67,98)
#675773
(103,87,115)
#7A6B84
(122,107,132)
#8D7F95
(141,127,149)
#A093A6
(160,147,166)
#B3A7B7
(179,167,183)
#C6BBC8
(198,187,200)
#D9CFD9
(217,207,217)
#ECE3EA
(236,227,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2E1B40; }

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

This text font color is #2E1B40.


Background Color

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

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

This div background color is #2E1B40.


Border color

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

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

This div border color is #2E1B40.


Opacity

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

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

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

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

This text has shadow with #2E1B40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E1B40 on black background.


Color preview on white background

This text has color #2E1B40 on white background.



Black color preview on #2E1B40 background

This text has black color on #2E1B40 background.


White color preview on #2E1B40 background

This text has white color on #2E1B40 background.