COLOR #2E174A

HEX: #2E174A
RGB: (46,23,74)

Color info

#2E174A contains red, green and blue colors in about the same proportion. Web safe color of #2E174A is #330033 (or #303).

RGB color model

#2E174A color RGB value is (46,23,74).

  • red value is 46;
  • green value is 23;
  • blue value is 74.
RGB:
(46,23,74)
(18%,9%,29%)

RGB channels and saturation

R 46 of 255 = 18%
G 23 of 255 = 9%
B 74 of 255 = 29%

46
23
74

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

Portions of RGB colors in percentages

R + G + B =
46 + 23 + 74 = 143 (100%)
R 46 of 143 ~ 32.17%
G 23 of 143 ~ 16.08%
B 74 of 143 ~ 51.75%

%32.17
%16.08
%51.75

CMYK color model

#2E174A color CMYK value is (38,69,0,71).

  • cyan value is 37.84%
  • magenta value is 68.92%
  • yellow value is 0.00%
  • key color value is 70.98%
CMYK:
(38,69,0,71)
C38M69Y0K71 
(38%,69%,0%,71%)
(0.38/0.69/0.00/0.71)	

CMYK percentages

%37.84
%68.92
%0
%70.98

Codes

Color #2E174A in popluar color models

2E174A
RGB462374
HSL267°52.58%19.02%
HSB/HSV267°68.92%29.02%
CMYK37.84%68.92%0.00%
70.98%

Color #2E174A in popluar number systems.

HEX2E174A
Decimal462374
Binary101110101111001010
Octal5627112

Shades and tints

Shades of #2E174A

#2E174A
(46,23,74)
#2A1544
(42,21,68)
#26133E
(38,19,62)
#221138
(34,17,56)
#1E0F32
(30,15,50)
#1A0D2C
(26,13,44)
#160B26
(22,11,38)
#120920
(18,9,32)
#0E071A
(14,7,26)
#0A0514
(10,5,20)
#06030E
(6,3,14)
#000000
(0,0,0)

Tints of #2E174A

#2E174A
(46,23,74)
#412C5A
(65,44,90)
#54416A
(84,65,106)
#67567A
(103,86,122)
#7A6B8A
(122,107,138)
#8D809A
(141,128,154)
#A095AA
(160,149,170)
#B3AABA
(179,170,186)
#C6BFCA
(198,191,202)
#D9D4DA
(217,212,218)
#ECE9EA
(236,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2E174A color. Also use rgb(46,23,74) instead hex code.

Text Font Color

.myTextColor { color: #2E174A; }

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

This text font color is #2E174A.


Background Color

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

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

This div background color is #2E174A.


Border color

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

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

This div border color is #2E174A.


Opacity

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

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

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

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

This text has shadow with #2E174A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E174A on black background.


Color preview on white background

This text has color #2E174A on white background.



Black color preview on #2E174A background

This text has black color on #2E174A background.


White color preview on #2E174A background

This text has white color on #2E174A background.