COLOR #5B2828

HEX: #5B2828
RGB: (91,40,40)

Color info

#5B2828 contains red, green and blue colors in about the same proportion. Web safe color of #5B2828 is #663333 (or #633).

RGB color model

#5B2828 color RGB value is (91,40,40).

  • red value is 91;
  • green value is 40;
  • blue value is 40.
RGB:
(91,40,40)
(36%,16%,16%)

RGB channels and saturation

R 91 of 255 = 36%
G 40 of 255 = 16%
B 40 of 255 = 16%

91
40
40

R + G + B ~ 23%. #5B2828 is dark color.

Portions of RGB colors in percentages

R + G + B =
91 + 40 + 40 = 171 (100%)
R 91 of 171 ~ 53.22%
G 40 of 171 ~ 23.39%
B 40 of 171 ~ 23.39%

%53.22
%23.39
%23.39

CMYK color model

#5B2828 color CMYK value is (0,56,56,64).

  • cyan value is 0.00%
  • magenta value is 56.04%
  • yellow value is 56.04%
  • key color value is 64.31%
CMYK:
(0,56,56,64)
C0M56Y56K64 
(0%,56%,56%,64%)
(0.00/0.56/0.56/0.64)	

CMYK percentages

%0
%56.04
%56.04
%64.31

Codes

Color #5B2828 in popluar color models

5B2828
RGB914040
HSL38.93%25.69%
HSB/HSV56.04%35.69%
CMYK0.00%56.04%56.04%
64.31%

Color #5B2828 in popluar number systems.

HEX5B2828
Decimal914040
Binary1011011101000101000
Octal1335050

Shades and tints

Shades of #5B2828

#5B2828
(91,40,40)
#532525
(83,37,37)
#4B2222
(75,34,34)
#431F1F
(67,31,31)
#3B1C1C
(59,28,28)
#331919
(51,25,25)
#2B1616
(43,22,22)
#231313
(35,19,19)
#1B1010
(27,16,16)
#130D0D
(19,13,13)
#0B0A0A
(11,10,10)
#000000
(0,0,0)

Tints of #5B2828

#5B2828
(91,40,40)
#693B3B
(105,59,59)
#774E4E
(119,78,78)
#856161
(133,97,97)
#937474
(147,116,116)
#A18787
(161,135,135)
#AF9A9A
(175,154,154)
#BDADAD
(189,173,173)
#CBC0C0
(203,192,192)
#D9D3D3
(217,211,211)
#E7E6E6
(231,230,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B2828 color. Also use rgb(91,40,40) instead hex code.

Text Font Color

.myTextColor { color: #5B2828; }

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

This text font color is #5B2828.


Background Color

.myBgColor { background-color: #5B2828; }

<div style="background-color:#5B2828">Inner text</div>

This div background color is #5B2828.


Border color

.myBorderColor { border: 1px solid #5B2828; }

<div style="border:3px solid #5B2828">Div</div>

This div border color is #5B2828.


Opacity

.myOpacity80 { color: #5B2828; opacity: 0.8; }

<p style="color:#5B2828;opacity:0.8;">80%</p>

Text with #5B2828 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 #5B2828;}

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

This text has shadow with #5B2828 color.

.textShadow {text-shadow: 3px 3px 1px #5B2828, 3px 3px 1px red;}

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

This text has shadow with #5B2828 primary color and red secondary color.


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

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

This text has shadow with #5B2828 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B2828 on black background.


Color preview on white background

This text has color #5B2828 on white background.



Black color preview on #5B2828 background

This text has black color on #5B2828 background.


White color preview on #5B2828 background

This text has white color on #5B2828 background.