COLOR #2E021B

HEX: #2E021B
RGB: (46,2,27)

Color info

#2E021B contains red, green and blue colors in about the same proportion. Web safe color of #2E021B is #330033 (or #303).

RGB color model

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

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

RGB channels and saturation

R 46 of 255 = 18%
G 2 of 255 = 1%
B 27 of 255 = 11%

46
2
27

R + G + B ~ 10%. #2E021B is dark color.

Portions of RGB colors in percentages

R + G + B =
46 + 2 + 27 = 75 (100%)
R 46 of 75 ~ 61.33%
G 2 of 75 ~ 2.67%
B 27 of 75 ~ 36%

%61.33
%36

CMYK color model

#2E021B color CMYK value is (0,96,41,82).

  • cyan value is 0.00%
  • magenta value is 95.65%
  • yellow value is 41.30%
  • key color value is 81.96%
CMYK:
(0,96,41,82)
C0M96Y41K82 
(0%,96%,41%,82%)
(0.00/0.96/0.41/0.82)	

CMYK percentages

%0
%95.65
%41.3
%81.96

Codes

Color #2E021B in popluar color models

2E021B
RGB46227
HSL326°91.67%9.41%
HSB/HSV326°95.65%18.04%
CMYK0.00%95.65%41.30%
81.96%

Color #2E021B in popluar number systems.

HEX2E021B
Decimal46227
Binary1011101011011
Octal56233

Shades and tints

Shades of #2E021B

#2E021B
(46,2,27)
#2A0219
(42,2,25)
#260217
(38,2,23)
#220215
(34,2,21)
#1E0213
(30,2,19)
#1A0211
(26,2,17)
#16020F
(22,2,15)
#12020D
(18,2,13)
#0E020B
(14,2,11)
#0A0209
(10,2,9)
#060207
(6,2,7)
#000000
(0,0,0)

Tints of #2E021B

#2E021B
(46,2,27)
#41192F
(65,25,47)
#543043
(84,48,67)
#674757
(103,71,87)
#7A5E6B
(122,94,107)
#8D757F
(141,117,127)
#A08C93
(160,140,147)
#B3A3A7
(179,163,167)
#C6BABB
(198,186,187)
#D9D1CF
(217,209,207)
#ECE8E3
(236,232,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2E021B; }

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

This text font color is #2E021B.


Background Color

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

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

This div background color is #2E021B.


Border color

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

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

This div border color is #2E021B.


Opacity

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

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

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

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

This text has shadow with #2E021B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E021B on black background.


Color preview on white background

This text has color #2E021B on white background.



Black color preview on #2E021B background

This text has black color on #2E021B background.


White color preview on #2E021B background

This text has white color on #2E021B background.