COLOR #2E155A

HEX: #2E155A
RGB: (46,21,90)

Color info

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

RGB color model

#2E155A color RGB value is (46,21,90).

  • red value is 46;
  • green value is 21;
  • blue value is 90.
RGB:
(46,21,90)
(18%,8%,35%)

RGB channels and saturation

R 46 of 255 = 18%
G 21 of 255 = 8%
B 90 of 255 = 35%

46
21
90

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

Portions of RGB colors in percentages

R + G + B =
46 + 21 + 90 = 157 (100%)
R 46 of 157 ~ 29.3%
G 21 of 157 ~ 13.38%
B 90 of 157 ~ 57.32%

%29.3
%13.38
%57.32

CMYK color model

#2E155A color CMYK value is (49,77,0,65).

  • cyan value is 48.89%
  • magenta value is 76.67%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK:
(49,77,0,65)
C49M77Y0K65 
(49%,77%,0%,65%)
(0.49/0.77/0.00/0.65)	

CMYK percentages

%48.89
%76.67
%0
%64.71

Codes

Color #2E155A in popluar color models

2E155A
RGB462190
HSL262°62.16%21.76%
HSB/HSV262°76.67%35.29%
CMYK48.89%76.67%0.00%
64.71%

Color #2E155A in popluar number systems.

HEX2E155A
Decimal462190
Binary101110101011011010
Octal5625132

Shades and tints

Shades of #2E155A

#2E155A
(46,21,90)
#2A1452
(42,20,82)
#26134A
(38,19,74)
#221242
(34,18,66)
#1E113A
(30,17,58)
#1A1032
(26,16,50)
#160F2A
(22,15,42)
#120E22
(18,14,34)
#0E0D1A
(14,13,26)
#0A0C12
(10,12,18)
#060B0A
(6,11,10)
#000000
(0,0,0)

Tints of #2E155A

#2E155A
(46,21,90)
#412A69
(65,42,105)
#543F78
(84,63,120)
#675487
(103,84,135)
#7A6996
(122,105,150)
#8D7EA5
(141,126,165)
#A093B4
(160,147,180)
#B3A8C3
(179,168,195)
#C6BDD2
(198,189,210)
#D9D2E1
(217,210,225)
#ECE7F0
(236,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2E155A color. Also use rgb(46,21,90) instead hex code.

Text Font Color

.myTextColor { color: #2E155A; }

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

This text font color is #2E155A.


Background Color

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

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

This div background color is #2E155A.


Border color

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

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

This div border color is #2E155A.


Opacity

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

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

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

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

This text has shadow with #2E155A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E155A on black background.


Color preview on white background

This text has color #2E155A on white background.



Black color preview on #2E155A background

This text has black color on #2E155A background.


White color preview on #2E155A background

This text has white color on #2E155A background.