COLOR #335008

HEX: #335008
RGB: (51,80,8)

Color info

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

RGB color model

#335008 color RGB value is (51,80,8).

  • red value is 51;
  • green value is 80;
  • blue value is 8.
RGB:
(51,80,8)
(20%,31%,3%)

RGB channels and saturation

R 51 of 255 = 20%
G 80 of 255 = 31%
B 8 of 255 = 3%

51
80
8

R + G + B ~ 18%. #335008 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 80 + 8 = 139 (100%)
R 51 of 139 ~ 36.69%
G 80 of 139 ~ 57.55%
B 8 of 139 ~ 5.76%

%36.69
%57.55

CMYK color model

#335008 color CMYK value is (36,0,90,69).

  • cyan value is 36.25%
  • magenta value is 0.00%
  • yellow value is 90.00%
  • key color value is 68.63%
CMYK:
(36,0,90,69)
C36M0Y90K69 
(36%,0%,90%,69%)
(0.36/0.00/0.90/0.69)	

CMYK percentages

%36.25
%0
%90
%68.63

Codes

Color #335008 in popluar color models

335008
RGB51808
HSL84°81.82%17.25%
HSB/HSV84°90.00%31.37%
CMYK36.25%0.00%90.00%
68.63%

Color #335008 in popluar number systems.

HEX335008
Decimal51808
Binary11001110100001000
Octal6312010

Shades and tints

Shades of #335008

#335008
(51,80,8)
#2F4908
(47,73,8)
#2B4208
(43,66,8)
#273B08
(39,59,8)
#233408
(35,52,8)
#1F2D08
(31,45,8)
#1B2608
(27,38,8)
#171F08
(23,31,8)
#131808
(19,24,8)
#0F1108
(15,17,8)
#0B0A08
(11,10,8)
#000000
(0,0,0)

Tints of #335008

#335008
(51,80,8)
#455F1E
(69,95,30)
#576E34
(87,110,52)
#697D4A
(105,125,74)
#7B8C60
(123,140,96)
#8D9B76
(141,155,118)
#9FAA8C
(159,170,140)
#B1B9A2
(177,185,162)
#C3C8B8
(195,200,184)
#D5D7CE
(213,215,206)
#E7E6E4
(231,230,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #335008 color. Also use rgb(51,80,8) instead hex code.

Text Font Color

.myTextColor { color: #335008; }

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

This text font color is #335008.


Background Color

.myBgColor { background-color: #335008; }

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

This div background color is #335008.


Border color

.myBorderColor { border: 1px solid #335008; }

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

This div border color is #335008.


Opacity

.myOpacity80 { color: #335008; opacity: 0.8; }

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

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

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

This text has shadow with #335008 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #335008 on black background.


Color preview on white background

This text has color #335008 on white background.



Black color preview on #335008 background

This text has black color on #335008 background.


White color preview on #335008 background

This text has white color on #335008 background.