COLOR #2E1A5D

HEX: #2E1A5D
RGB: (46,26,93)

Color info

#2E1A5D contains mainly red and blue colors. Web safe color of #2E1A5D is #330066 (or #306).

RGB color model

#2E1A5D color RGB value is (46,26,93).

  • red value is 46;
  • green value is 26;
  • blue value is 93.
RGB:
(46,26,93)
(18%,10%,36%)

RGB channels and saturation

R 46 of 255 = 18%
G 26 of 255 = 10%
B 93 of 255 = 36%

46
26
93

R + G + B ~ 21%. #2E1A5D is dark color.

Portions of RGB colors in percentages

R + G + B =
46 + 26 + 93 = 165 (100%)
R 46 of 165 ~ 27.88%
G 26 of 165 ~ 15.76%
B 93 of 165 ~ 56.36%

%27.88
%15.76
%56.36

CMYK color model

#2E1A5D color CMYK value is (51,72,0,64).

  • cyan value is 50.54%
  • magenta value is 72.04%
  • yellow value is 0.00%
  • key color value is 63.53%
CMYK:
(51,72,0,64)
C51M72Y0K64 
(51%,72%,0%,64%)
(0.51/0.72/0.00/0.64)	

CMYK percentages

%50.54
%72.04
%0
%63.53

Codes

Color #2E1A5D in popluar color models

2E1A5D
RGB462693
HSL258°56.30%23.33%
HSB/HSV258°72.04%36.47%
CMYK50.54%72.04%0.00%
63.53%

Color #2E1A5D in popluar number systems.

HEX2E1A5D
Decimal462693
Binary101110110101011101
Octal5632135

Shades and tints

Shades of #2E1A5D

#2E1A5D
(46,26,93)
#2A1855
(42,24,85)
#26164D
(38,22,77)
#221445
(34,20,69)
#1E123D
(30,18,61)
#1A1035
(26,16,53)
#160E2D
(22,14,45)
#120C25
(18,12,37)
#0E0A1D
(14,10,29)
#0A0815
(10,8,21)
#06060D
(6,6,13)
#000000
(0,0,0)

Tints of #2E1A5D

#2E1A5D
(46,26,93)
#412E6B
(65,46,107)
#544279
(84,66,121)
#675687
(103,86,135)
#7A6A95
(122,106,149)
#8D7EA3
(141,126,163)
#A092B1
(160,146,177)
#B3A6BF
(179,166,191)
#C6BACD
(198,186,205)
#D9CEDB
(217,206,219)
#ECE2E9
(236,226,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2E1A5D color. Also use rgb(46,26,93) instead hex code.

Text Font Color

.myTextColor { color: #2E1A5D; }

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

This text font color is #2E1A5D.


Background Color

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

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

This div background color is #2E1A5D.


Border color

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

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

This div border color is #2E1A5D.


Opacity

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

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

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

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

This text has shadow with #2E1A5D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E1A5D on black background.


Color preview on white background

This text has color #2E1A5D on white background.



Black color preview on #2E1A5D background

This text has black color on #2E1A5D background.


White color preview on #2E1A5D background

This text has white color on #2E1A5D background.