COLOR #2E315F

HEX: #2E315F RGB: (46,49,95)

Color info

#2E315F contains red, green and blue colors in about the same proportion. Web safe color of #2E315F is #333366 (or #336).

RGB color model

#2E315F color RGB value is (46,49,95).

RGB: (46,49,95) (18%, 19%, 37%)

RGB channels and saturation

R 46 of 255 = 18%
G 49 of 255 = 19%
B 95 of 255 = 37%

46
49
95

R + G + B ~ 25%. #2E315F is quite dark color.

Portions of RGB colors in percentages

R + G + B = 46 + 49 + 95 = 190 (100%)
R 46 of 190 ~ 24.21%
G 49 of 190 ~ 25.79%
B 95 of 190 ~ 50'%

%24.21
%25.79
%50

CMYK color model

#2E315F color CMYK value is (52,48,0,63).

  • cyan value is 51.58%
  • magenta value is 48.42%
  • yellow value is 0.00%
  • key color value is 62.75%

CMYK: (52,48,0,63)
C52M48Y0K63 (52%, 48%, 0%, 63%)
(0.52 / 0.48 / 0.00 / 0.63)

CMYK percentages

%51.58
%48.42
%0
%62.75

Codes

Color #2E315F in popluar color models

2E 31 5F
RGB 46 49 95
HSL 236° 34.75% 27.65%
HSB/HSV 236° 51.58% 37.25%
CMYK 51.58% 48.42% 0.00%
62.75%

Color #2E315F in popluar number systems.

HEX 2E 31 5F
Decimal 46 49 95
Binary 101110 110001 1011111
Octal 56 61 137

Shades and tints

Shades of #2E315F

#2E315F
(46,49,95)
#2A2D57
(42,45,87)
#26294F
(38,41,79)
#222547
(34,37,71)
#1E213F
(30,33,63)
#1A1D37
(26,29,55)
#16192F
(22,25,47)
#121527
(18,21,39)
#0E111F
(14,17,31)
#0A0D17
(10,13,23)
#06090F
(6,9,15)
#000000
(0,0,0)

Tints of #2E315F

#2E315F
(46,49,95)
#41436D
(65,67,109)
#54557B
(84,85,123)
#676789
(103,103,137)
#7A7997
(122,121,151)
#8D8BA5
(141,139,165)
#A09DB3
(160,157,179)
#B3AFC1
(179,175,193)
#C6C1CF
(198,193,207)
#D9D3DD
(217,211,221)
#ECE5EB
(236,229,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2E315F color. Also use rgb(46,49,95) instead hex code.

Text Font Color

.myTextColor { color: #2E315F; }

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

This text font color is #2E315F.

Background Color

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

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

This div background color is #2E315F.

Border color

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

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

This div border color is #2E315F.

Opacity

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

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

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

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

This text has shadow with #2E315F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2E315F.

Preview

Color preview on black background

This text has color #2E315F on black background.


Color preview on white background

This text has color #2E315F on white background.


Black color preview on #2E315F background

This text has black color on #2E315F background.


White color preview on #2E315F background

This text has white color on #2E315F background.


Related colors

Complementary color

Complementary color for #hex is #D1CEA0.


I love getcolorcode.com

Triadic colors

1 #5F2E31 and #315F2E with #2E315F are triadic colors.

2 #5F312E and #312E5F with #2E315F are triadic colors.