COLOR #5B7428

HEX: #5B7428
RGB: (91,116,40)

Color info

#5B7428 contains mainly red and green colors. Web safe color of #5B7428 is #666633 (or #663).

RGB color model

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

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

RGB channels and saturation

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

91
116
40

R + G + B ~ 32%. #5B7428 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
91 + 116 + 40 = 247 (100%)
R 91 of 247 ~ 36.84%
G 116 of 247 ~ 46.96%
B 40 of 247 ~ 16.19%

%36.84
%46.96
%16.19

CMYK color model

#5B7428 color CMYK value is (22,0,66,55).

  • cyan value is 21.55%
  • magenta value is 0.00%
  • yellow value is 65.52%
  • key color value is 54.51%
CMYK:
(22,0,66,55)
C22M0Y66K55 
(22%,0%,66%,55%)
(0.22/0.00/0.66/0.55)	

CMYK percentages

%21.55
%0
%65.52
%54.51

Codes

Color #5B7428 in popluar color models

5B7428
RGB9111640
HSL80°48.72%30.59%
HSB/HSV80°65.52%45.49%
CMYK21.55%0.00%65.52%
54.51%

Color #5B7428 in popluar number systems.

HEX5B7428
Decimal9111640
Binary10110111110100101000
Octal13316450

Shades and tints

Shades of #5B7428

#5B7428
(91,116,40)
#536A25
(83,106,37)
#4B6022
(75,96,34)
#43561F
(67,86,31)
#3B4C1C
(59,76,28)
#334219
(51,66,25)
#2B3816
(43,56,22)
#232E13
(35,46,19)
#1B2410
(27,36,16)
#131A0D
(19,26,13)
#0B100A
(11,16,10)
#000000
(0,0,0)

Tints of #5B7428

#5B7428
(91,116,40)
#69803B
(105,128,59)
#778C4E
(119,140,78)
#859861
(133,152,97)
#93A474
(147,164,116)
#A1B087
(161,176,135)
#AFBC9A
(175,188,154)
#BDC8AD
(189,200,173)
#CBD4C0
(203,212,192)
#D9E0D3
(217,224,211)
#E7ECE6
(231,236,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B7428; }

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

This text font color is #5B7428.


Background Color

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

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

This div background color is #5B7428.


Border color

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

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

This div border color is #5B7428.


Opacity

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

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

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

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

This text has shadow with #5B7428 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B7428 on black background.


Color preview on white background

This text has color #5B7428 on white background.



Black color preview on #5B7428 background

This text has black color on #5B7428 background.


White color preview on #5B7428 background

This text has white color on #5B7428 background.