COLOR #2E1F28

HEX: #2E1F28
RGB: (46,31,40)

Color info

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

RGB color model

#2E1F28 color RGB value is (46,31,40).

  • red value is 46;
  • green value is 31;
  • blue value is 40.
RGB:
(46,31,40)
(18%,12%,16%)

RGB channels and saturation

R 46 of 255 = 18%
G 31 of 255 = 12%
B 40 of 255 = 16%

46
31
40

R + G + B ~ 15%. #2E1F28 is dark color.

Portions of RGB colors in percentages

R + G + B =
46 + 31 + 40 = 117 (100%)
R 46 of 117 ~ 39.32%
G 31 of 117 ~ 26.5%
B 40 of 117 ~ 34.19%

%39.32
%26.5
%34.19

CMYK color model

#2E1F28 color CMYK value is (0,33,13,82).

  • cyan value is 0.00%
  • magenta value is 32.61%
  • yellow value is 13.04%
  • key color value is 81.96%
CMYK:
(0,33,13,82)
C0M33Y13K82 
(0%,33%,13%,82%)
(0.00/0.33/0.13/0.82)	

CMYK percentages

%0
%32.61
%13.04
%81.96

Codes

Color #2E1F28 in popluar color models

2E1F28
RGB463140
HSL324°19.48%15.10%
HSB/HSV324°32.61%18.04%
CMYK0.00%32.61%13.04%
81.96%

Color #2E1F28 in popluar number systems.

HEX2E1F28
Decimal463140
Binary10111011111101000
Octal563750

Shades and tints

Shades of #2E1F28

#2E1F28
(46,31,40)
#2A1D25
(42,29,37)
#261B22
(38,27,34)
#22191F
(34,25,31)
#1E171C
(30,23,28)
#1A1519
(26,21,25)
#161316
(22,19,22)
#121113
(18,17,19)
#0E0F10
(14,15,16)
#0A0D0D
(10,13,13)
#060B0A
(6,11,10)
#000000
(0,0,0)

Tints of #2E1F28

#2E1F28
(46,31,40)
#41333B
(65,51,59)
#54474E
(84,71,78)
#675B61
(103,91,97)
#7A6F74
(122,111,116)
#8D8387
(141,131,135)
#A0979A
(160,151,154)
#B3ABAD
(179,171,173)
#C6BFC0
(198,191,192)
#D9D3D3
(217,211,211)
#ECE7E6
(236,231,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2E1F28; }

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

This text font color is #2E1F28.


Background Color

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

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

This div background color is #2E1F28.


Border color

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

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

This div border color is #2E1F28.


Opacity

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

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

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

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

This text has shadow with #2E1F28 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E1F28 on black background.


Color preview on white background

This text has color #2E1F28 on white background.



Black color preview on #2E1F28 background

This text has black color on #2E1F28 background.


White color preview on #2E1F28 background

This text has white color on #2E1F28 background.