COLOR #2E154F

HEX: #2E154F
RGB: (46,21,79)

Color info

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

RGB color model

#2E154F color RGB value is (46,21,79).

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

RGB channels and saturation

R 46 of 255 = 18%
G 21 of 255 = 8%
B 79 of 255 = 31%

46
21
79

R + G + B ~ 19%. #2E154F is dark color.

Portions of RGB colors in percentages

R + G + B =
46 + 21 + 79 = 146 (100%)
R 46 of 146 ~ 31.51%
G 21 of 146 ~ 14.38%
B 79 of 146 ~ 54.11%

%31.51
%14.38
%54.11

CMYK color model

#2E154F color CMYK value is (42,73,0,69).

  • cyan value is 41.77%
  • magenta value is 73.42%
  • yellow value is 0.00%
  • key color value is 69.02%
CMYK:
(42,73,0,69)
C42M73Y0K69 
(42%,73%,0%,69%)
(0.42/0.73/0.00/0.69)	

CMYK percentages

%41.77
%73.42
%0
%69.02

Codes

Color #2E154F in popluar color models

2E154F
RGB462179
HSL266°58.00%19.61%
HSB/HSV266°73.42%30.98%
CMYK41.77%73.42%0.00%
69.02%

Color #2E154F in popluar number systems.

HEX2E154F
Decimal462179
Binary101110101011001111
Octal5625117

Shades and tints

Shades of #2E154F

#2E154F
(46,21,79)
#2A1448
(42,20,72)
#261341
(38,19,65)
#22123A
(34,18,58)
#1E1133
(30,17,51)
#1A102C
(26,16,44)
#160F25
(22,15,37)
#120E1E
(18,14,30)
#0E0D17
(14,13,23)
#0A0C10
(10,12,16)
#060B09
(6,11,9)
#000000
(0,0,0)

Tints of #2E154F

#2E154F
(46,21,79)
#412A5F
(65,42,95)
#543F6F
(84,63,111)
#67547F
(103,84,127)
#7A698F
(122,105,143)
#8D7E9F
(141,126,159)
#A093AF
(160,147,175)
#B3A8BF
(179,168,191)
#C6BDCF
(198,189,207)
#D9D2DF
(217,210,223)
#ECE7EF
(236,231,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2E154F; }

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

This text font color is #2E154F.


Background Color

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

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

This div background color is #2E154F.


Border color

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

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

This div border color is #2E154F.


Opacity

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

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

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

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

This text has shadow with #2E154F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E154F on black background.


Color preview on white background

This text has color #2E154F on white background.



Black color preview on #2E154F background

This text has black color on #2E154F background.


White color preview on #2E154F background

This text has white color on #2E154F background.