COLOR #335A1F

HEX: #335A1F RGB: (51,90,31)

Color info

#335A1F contains red, green and blue colors in about the same proportion. Web safe color of #335A1F is #336633 (or #363).

RGB color model

#335A1F color RGB value is (51,90,31).

RGB: (51,90,31) (20%, 35%, 12%)

RGB channels and saturation

R 51 of 255 = 20%
G 90 of 255 = 35%
B 31 of 255 = 12%

51
90
31

R + G + B ~ 22%. #335A1F is dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 90 + 31 = 172 (100%)
R 51 of 172 ~ 29.65%
G 90 of 172 ~ 52.33%
B 31 of 172 ~ 18.02'%

%29.65
%52.33
%18.02

CMYK color model

#335A1F color CMYK value is (43,0,66,65).

  • cyan value is 43.33%
  • magenta value is 0.00%
  • yellow value is 65.56%
  • key color value is 64.71%

CMYK: (43,0,66,65)
C43M0Y66K65 (43%, 0%, 66%, 65%)
(0.43 / 0.00 / 0.66 / 0.65)

CMYK percentages

%43.33
%0
%65.56
%64.71

Codes

Color #335A1F in popluar color models

33 5A 1F
RGB 51 90 31
HSL 100° 48.76% 23.73%
HSB/HSV 100° 65.56% 35.29%
CMYK 43.33% 0.00% 65.56%
64.71%

Color #335A1F in popluar number systems.

HEX 33 5A 1F
Decimal 51 90 31
Binary 110011 1011010 11111
Octal 63 132 37

Shades and tints

Shades of #335A1F

#335A1F
(51,90,31)
#2F521D
(47,82,29)
#2B4A1B
(43,74,27)
#274219
(39,66,25)
#233A17
(35,58,23)
#1F3215
(31,50,21)
#1B2A13
(27,42,19)
#172211
(23,34,17)
#131A0F
(19,26,15)
#0F120D
(15,18,13)
#0B0A0B
(11,10,11)
#000000
(0,0,0)

Tints of #335A1F

#335A1F
(51,90,31)
#456933
(69,105,51)
#577847
(87,120,71)
#69875B
(105,135,91)
#7B966F
(123,150,111)
#8DA583
(141,165,131)
#9FB497
(159,180,151)
#B1C3AB
(177,195,171)
#C3D2BF
(195,210,191)
#D5E1D3
(213,225,211)
#E7F0E7
(231,240,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #335A1F color. Also use rgb(51,90,31) instead hex code.

Text Font Color

.myTextColor { color: #335A1F; }

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

This text font color is #335A1F.

Background Color

.myBgColor { background-color: #335A1F; }

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

This div background color is #335A1F.

Border color

.myBorderColor { border: 1px solid #335A1F; }

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

This div border color is #335A1F.

Opacity

.myOpacity80 { color: #335A1F; opacity: 0.8; }

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

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

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

This text has shadow with #335A1F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #335A1F.

Preview

Color preview on black background

This text has color #335A1F on black background.


Color preview on white background

This text has color #335A1F on white background.


Black color preview on #335A1F background

This text has black color on #335A1F background.


White color preview on #335A1F background

This text has white color on #335A1F background.


Related colors

Complementary color

Complementary color for #hex is #CCA5E0.


I love getcolorcode.com

Triadic colors

1 #1F335A and #5A1F33 with #335A1F are triadic colors.

2 #1F5A33 and #5A331F with #335A1F are triadic colors.