COLOR #2E2B57

HEX: #2E2B57
RGB: (46,43,87)

Color info

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

RGB color model

#2E2B57 color RGB value is (46,43,87).

  • red value is 46;
  • green value is 43;
  • blue value is 87.
RGB: (46,43,87) (18%,17%,34%)

RGB channels and saturation

R 46 of 255 = 18%
G 43 of 255 = 17%
B 87 of 255 = 34%

46
43
87

R + G + B ~ 23%. #2E2B57 is dark color.

Portions of RGB colors in percentages

R + G + B =
46 + 43 + 87 = 176 (100%)
R 46 of 176 ~ 26.14%
G 43 of 176 ~ 24.43%
B 87 of 176 ~ 49.43%

%26.14
%24.43
%49.43

CMYK color model

#2E2B57 color CMYK value is (47,51,0,66).

  • cyan value is 47.13%
  • magenta value is 50.57%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK: (47,51,0,66) C47M51Y0K66 (47%,51%,0%,66%) (0.47/0.51/0.00/0.66)

CMYK percentages

%47.13
%50.57
%0
%65.88

Codes

Color #2E2B57 in popluar color models

2E2B57
RGB464387
HSL244°33.85%25.49%
HSB/HSV244°50.57%34.12%
CMYK47.13%50.57%0.00%
65.88%

Color #2E2B57 in popluar number systems.

HEX2E2B57
Decimal464387
Binary1011101010111010111
Octal5653127

Shades and tints

Shades of #2E2B57

#2E2B57
(46,43,87)
#2A2850
(42,40,80)
#262549
(38,37,73)
#222242
(34,34,66)
#1E1F3B
(30,31,59)
#1A1C34
(26,28,52)
#16192D
(22,25,45)
#121626
(18,22,38)
#0E131F
(14,19,31)
#0A1018
(10,16,24)
#060D11
(6,13,17)
#000000
(0,0,0)

Tints of #2E2B57

#2E2B57
(46,43,87)
#413E66
(65,62,102)
#545175
(84,81,117)
#676484
(103,100,132)
#7A7793
(122,119,147)
#8D8AA2
(141,138,162)
#A09DB1
(160,157,177)
#B3B0C0
(179,176,192)
#C6C3CF
(198,195,207)
#D9D6DE
(217,214,222)
#ECE9ED
(236,233,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2E2B57 color. Also use rgb(46,43,87) instead hex code.

Text Font Color

.myTextColor { color: #2E2B57; }

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

This text font color is #2E2B57.


Background Color

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

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

This div background color is #2E2B57.


Border color

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

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

This div border color is #2E2B57.


Opacity

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

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

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

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

This text has shadow with #2E2B57 color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #2E2B57 on black background.


Color preview on white background

This text has color #2E2B57 on white background.



Black color preview on #2E2B57 background

This text has black color on #2E2B57 background.


White color preview on #2E2B57 background

This text has white color on #2E2B57 background.