COLOR #5B7E12

HEX: #5B7E12 RGB: (91,126,18)

Color info

#5B7E12 contains mainly red and green colors. Web safe color of #5B7E12 is #666600 (or #660).

RGB color model

#5B7E12 color RGB value is (91,126,18).

RGB: (91,126,18) (36%, 49%, 7%)

RGB channels and saturation

R 91 of 255 = 36%
G 126 of 255 = 49%
B 18 of 255 = 7%

91
126
18

R + G + B ~ 31%. #5B7E12 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 91 + 126 + 18 = 235 (100%)
R 91 of 235 ~ 38.72%
G 126 of 235 ~ 53.62%
B 18 of 235 ~ 7.66'%

%38.72
%53.62

CMYK color model

#5B7E12 color CMYK value is (28,0,86,51).

  • cyan value is 27.78%
  • magenta value is 0.00%
  • yellow value is 85.71%
  • key color value is 50.59%

CMYK: (28,0,86,51)
C28M0Y86K51 (28%, 0%, 86%, 51%)
(0.28 / 0.00 / 0.86 / 0.51)

CMYK percentages

%27.78
%0
%85.71
%50.59

Codes

Color #5B7E12 in popluar color models

5B 7E 12
RGB 91 126 18
HSL 79° 75.00% 28.24%
HSB/HSV 79° 85.71% 49.41%
CMYK 27.78% 0.00% 85.71%
50.59%

Color #5B7E12 in popluar number systems.

HEX 5B 7E 12
Decimal 91 126 18
Binary 1011011 1111110 10010
Octal 133 176 22

Shades and tints

Shades of #5B7E12

#5B7E12
(91,126,18)
#537311
(83,115,17)
#4B6810
(75,104,16)
#435D0F
(67,93,15)
#3B520E
(59,82,14)
#33470D
(51,71,13)
#2B3C0C
(43,60,12)
#23310B
(35,49,11)
#1B260A
(27,38,10)
#131B09
(19,27,9)
#0B1008
(11,16,8)
#000000
(0,0,0)

Tints of #5B7E12

#5B7E12
(91,126,18)
#698927
(105,137,39)
#77943C
(119,148,60)
#859F51
(133,159,81)
#93AA66
(147,170,102)
#A1B57B
(161,181,123)
#AFC090
(175,192,144)
#BDCBA5
(189,203,165)
#CBD6BA
(203,214,186)
#D9E1CF
(217,225,207)
#E7ECE4
(231,236,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B7E12; }

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

This text font color is #5B7E12.

Background Color

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

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

This div background color is #5B7E12.

Border color

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

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

This div border color is #5B7E12.

Opacity

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

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

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

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

This text has shadow with #5B7E12 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5B7E12.

Preview

Color preview on black background

This text has color #5B7E12 on black background.


Color preview on white background

This text has color #5B7E12 on white background.


Black color preview on #5B7E12 background

This text has black color on #5B7E12 background.


White color preview on #5B7E12 background

This text has white color on #5B7E12 background.


Related colors

Complementary color

Complementary color for #hex is #A481ED.


I love getcolorcode.com

Triadic colors

1 #125B7E and #7E125B with #5B7E12 are triadic colors.

2 #127E5B and #7E5B12 with #5B7E12 are triadic colors.