COLOR #2E1B2A

HEX: #2E1B2A
RGB: (46,27,42)

Color info

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

RGB color model

#2E1B2A color RGB value is (46,27,42).

  • red value is 46;
  • green value is 27;
  • blue value is 42.
RGB:
(46,27,42)
(18%,11%,16%)

RGB channels and saturation

R 46 of 255 = 18%
G 27 of 255 = 11%
B 42 of 255 = 16%

46
27
42

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

Portions of RGB colors in percentages

R + G + B =
46 + 27 + 42 = 115 (100%)
R 46 of 115 ~ 40%
G 27 of 115 ~ 23.48%
B 42 of 115 ~ 36.52%

%40
%23.48
%36.52

CMYK color model

#2E1B2A color CMYK value is (0,41,9,82).

  • cyan value is 0.00%
  • magenta value is 41.30%
  • yellow value is 8.70%
  • key color value is 81.96%
CMYK:
(0,41,9,82)
C0M41Y9K82 
(0%,41%,9%,82%)
(0.00/0.41/0.09/0.82)	

CMYK percentages

%0
%41.3
%8.7
%81.96

Codes

Color #2E1B2A in popluar color models

2E1B2A
RGB462742
HSL313°26.03%14.31%
HSB/HSV313°41.30%18.04%
CMYK0.00%41.30%8.70%
81.96%

Color #2E1B2A in popluar number systems.

HEX2E1B2A
Decimal462742
Binary10111011011101010
Octal563352

Shades and tints

Shades of #2E1B2A

#2E1B2A
(46,27,42)
#2A1927
(42,25,39)
#261724
(38,23,36)
#221521
(34,21,33)
#1E131E
(30,19,30)
#1A111B
(26,17,27)
#160F18
(22,15,24)
#120D15
(18,13,21)
#0E0B12
(14,11,18)
#0A090F
(10,9,15)
#06070C
(6,7,12)
#000000
(0,0,0)

Tints of #2E1B2A

#2E1B2A
(46,27,42)
#412F3D
(65,47,61)
#544350
(84,67,80)
#675763
(103,87,99)
#7A6B76
(122,107,118)
#8D7F89
(141,127,137)
#A0939C
(160,147,156)
#B3A7AF
(179,167,175)
#C6BBC2
(198,187,194)
#D9CFD5
(217,207,213)
#ECE3E8
(236,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2E1B2A; }

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

This text font color is #2E1B2A.


Background Color

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

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

This div background color is #2E1B2A.


Border color

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

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

This div border color is #2E1B2A.


Opacity

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

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

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

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

This text has shadow with #2E1B2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E1B2A on black background.


Color preview on white background

This text has color #2E1B2A on white background.



Black color preview on #2E1B2A background

This text has black color on #2E1B2A background.


White color preview on #2E1B2A background

This text has white color on #2E1B2A background.