COLOR #5B5228

HEX: #5B5228
RGB: (91,82,40)

Color info

#5B5228 contains red, green and blue colors in about the same proportion. Web safe color of #5B5228 is #666633 (or #663).

RGB color model

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

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

RGB channels and saturation

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

91
82
40

R + G + B ~ 28%. #5B5228 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
91 + 82 + 40 = 213 (100%)
R 91 of 213 ~ 42.72%
G 82 of 213 ~ 38.5%
B 40 of 213 ~ 18.78%

%42.72
%38.5
%18.78

CMYK color model

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

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

CMYK percentages

%0
%9.89
%56.04
%64.31

Codes

Color #5B5228 in popluar color models

5B5228
RGB918240
HSL49°38.93%25.69%
HSB/HSV49°56.04%35.69%
CMYK0.00%9.89%56.04%
64.31%

Color #5B5228 in popluar number systems.

HEX5B5228
Decimal918240
Binary10110111010010101000
Octal13312250

Shades and tints

Shades of #5B5228

#5B5228
(91,82,40)
#534B25
(83,75,37)
#4B4422
(75,68,34)
#433D1F
(67,61,31)
#3B361C
(59,54,28)
#332F19
(51,47,25)
#2B2816
(43,40,22)
#232113
(35,33,19)
#1B1A10
(27,26,16)
#13130D
(19,19,13)
#0B0C0A
(11,12,10)
#000000
(0,0,0)

Tints of #5B5228

#5B5228
(91,82,40)
#69613B
(105,97,59)
#77704E
(119,112,78)
#857F61
(133,127,97)
#938E74
(147,142,116)
#A19D87
(161,157,135)
#AFAC9A
(175,172,154)
#BDBBAD
(189,187,173)
#CBCAC0
(203,202,192)
#D9D9D3
(217,217,211)
#E7E8E6
(231,232,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B5228; }

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

This text font color is #5B5228.


Background Color

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

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

This div background color is #5B5228.


Border color

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

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

This div border color is #5B5228.


Opacity

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

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

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

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

This text has shadow with #5B5228 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B5228 on black background.


Color preview on white background

This text has color #5B5228 on white background.



Black color preview on #5B5228 background

This text has black color on #5B5228 background.


White color preview on #5B5228 background

This text has white color on #5B5228 background.