COLOR #2E2E42

HEX: #2E2E42
RGB: (46,46,66)

Color info

#2E2E42 contains red, green and blue colors in about the same proportion. Web safe color of #2E2E42 is #333333 (or #333).

RGB color model

#2E2E42 color RGB value is (46,46,66).

  • red value is 46;
  • green value is 46;
  • blue value is 66.
RGB:
(46,46,66)
(18%,18%,26%)

RGB channels and saturation

R 46 of 255 = 18%
G 46 of 255 = 18%
B 66 of 255 = 26%

46
46
66

R + G + B ~ 21%. #2E2E42 is dark color.

Portions of RGB colors in percentages

R + G + B =
46 + 46 + 66 = 158 (100%)
R 46 of 158 ~ 29.11%
G 46 of 158 ~ 29.11%
B 66 of 158 ~ 41.77%

%29.11
%29.11
%41.77

CMYK color model

#2E2E42 color CMYK value is (30,30,0,74).

  • cyan value is 30.30%
  • magenta value is 30.30%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(30,30,0,74)
C30M30Y0K74 
(30%,30%,0%,74%)
(0.30/0.30/0.00/0.74)	

CMYK percentages

%30.3
%30.3
%0
%74.12

Codes

Color #2E2E42 in popluar color models

2E2E42
RGB464666
HSL240°17.86%21.96%
HSB/HSV240°30.30%25.88%
CMYK30.30%30.30%0.00%
74.12%

Color #2E2E42 in popluar number systems.

HEX2E2E42
Decimal464666
Binary1011101011101000010
Octal5656102

Shades and tints

Shades of #2E2E42

#2E2E42
(46,46,66)
#2A2A3C
(42,42,60)
#262636
(38,38,54)
#222230
(34,34,48)
#1E1E2A
(30,30,42)
#1A1A24
(26,26,36)
#16161E
(22,22,30)
#121218
(18,18,24)
#0E0E12
(14,14,18)
#0A0A0C
(10,10,12)
#060606
(6,6,6)
#000000
(0,0,0)

Tints of #2E2E42

#2E2E42
(46,46,66)
#414153
(65,65,83)
#545464
(84,84,100)
#676775
(103,103,117)
#7A7A86
(122,122,134)
#8D8D97
(141,141,151)
#A0A0A8
(160,160,168)
#B3B3B9
(179,179,185)
#C6C6CA
(198,198,202)
#D9D9DB
(217,217,219)
#ECECEC
(236,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2E2E42; }

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

This text font color is #2E2E42.


Background Color

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

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

This div background color is #2E2E42.


Border color

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

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

This div border color is #2E2E42.


Opacity

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

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

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

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

This text has shadow with #2E2E42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E2E42 on black background.


Color preview on white background

This text has color #2E2E42 on white background.



Black color preview on #2E2E42 background

This text has black color on #2E2E42 background.


White color preview on #2E2E42 background

This text has white color on #2E2E42 background.