COLOR #2B5006

HEX: #2B5006 RGB: (43,80,6)

Color info

#2B5006 contains mainly red and green colors. Web safe color of #2B5006 is #336600 (or #360).

RGB color model

#2B5006 color RGB value is (43,80,6).

RGB: (43,80,6) (17%, 31%, 2%)

RGB channels and saturation

R 43 of 255 = 17%
G 80 of 255 = 31%
B 6 of 255 = 2%

43
80
6

R + G + B ~ 17%. #2B5006 is dark color.

Portions of RGB colors in percentages

R + G + B = 43 + 80 + 6 = 129 (100%)
R 43 of 129 ~ 33.33%
G 80 of 129 ~ 62.02%
B 6 of 129 ~ 4.65'%

%33.33
%62.02

CMYK color model

#2B5006 color CMYK value is (46,0,93,69).

  • cyan value is 46.25%
  • magenta value is 0.00%
  • yellow value is 92.50%
  • key color value is 68.63%

CMYK: (46,0,93,69)
C46M0Y93K69 (46%, 0%, 93%, 69%)
(0.46 / 0.00 / 0.93 / 0.69)

CMYK percentages

%46.25
%0
%92.5
%68.63

Codes

Color #2B5006 in popluar color models

2B 50 06
RGB 43 80 6
HSL 90° 86.05% 16.86%
HSB/HSV 90° 92.50% 31.37%
CMYK 46.25% 0.00% 92.50%
68.63%

Color #2B5006 in popluar number systems.

HEX 2B 50 06
Decimal 43 80 6
Binary 101011 1010000 110
Octal 53 120 6

Shades and tints

Shades of #2B5006

#2B5006
(43,80,6)
#284906
(40,73,6)
#254206
(37,66,6)
#223B06
(34,59,6)
#1F3406
(31,52,6)
#1C2D06
(28,45,6)
#192606
(25,38,6)
#161F06
(22,31,6)
#131806
(19,24,6)
#101106
(16,17,6)
#0D0A06
(13,10,6)
#000000
(0,0,0)

Tints of #2B5006

#2B5006
(43,80,6)
#3E5F1C
(62,95,28)
#516E32
(81,110,50)
#647D48
(100,125,72)
#778C5E
(119,140,94)
#8A9B74
(138,155,116)
#9DAA8A
(157,170,138)
#B0B9A0
(176,185,160)
#C3C8B6
(195,200,182)
#D6D7CC
(214,215,204)
#E9E6E2
(233,230,226)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2B5006 color. Also use rgb(43,80,6) instead hex code.

Text Font Color

.myTextColor { color: #2B5006; }

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

This text font color is #2B5006.

Background Color

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

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

This div background color is #2B5006.

Border color

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

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

This div border color is #2B5006.

Opacity

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

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

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

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

This text has shadow with #2B5006 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2B5006.

Preview

Color preview on black background

This text has color #2B5006 on black background.


Color preview on white background

This text has color #2B5006 on white background.


Black color preview on #2B5006 background

This text has black color on #2B5006 background.


White color preview on #2B5006 background

This text has white color on #2B5006 background.


Related colors

Complementary color

Complementary color for #hex is #D4AFF9.


I love getcolorcode.com

Triadic colors

1 #062B50 and #50062B with #2B5006 are triadic colors.

2 #06502B and #502B06 with #2B5006 are triadic colors.