COLOR #335742

HEX: #335742
RGB: (51,87,66)

Color info

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

RGB color model

#335742 color RGB value is (51,87,66).

  • red value is 51;
  • green value is 87;
  • blue value is 66.
RGB:
(51,87,66)
(20%,34%,26%)

RGB channels and saturation

R 51 of 255 = 20%
G 87 of 255 = 34%
B 66 of 255 = 26%

51
87
66

R + G + B ~ 27%. #335742 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 87 + 66 = 204 (100%)
R 51 of 204 ~ 25%
G 87 of 204 ~ 42.65%
B 66 of 204 ~ 32.35%

%25
%42.65
%32.35

CMYK color model

#335742 color CMYK value is (41,0,24,66).

  • cyan value is 41.38%
  • magenta value is 0.00%
  • yellow value is 24.14%
  • key color value is 65.88%
CMYK:
(41,0,24,66)
C41M0Y24K66 
(41%,0%,24%,66%)
(0.41/0.00/0.24/0.66)	

CMYK percentages

%41.38
%0
%24.14
%65.88

Codes

Color #335742 in popluar color models

335742
RGB518766
HSL145°26.09%27.06%
HSB/HSV145°41.38%34.12%
CMYK41.38%0.00%24.14%
65.88%

Color #335742 in popluar number systems.

HEX335742
Decimal518766
Binary11001110101111000010
Octal63127102

Shades and tints

Shades of #335742

#335742
(51,87,66)
#2F503C
(47,80,60)
#2B4936
(43,73,54)
#274230
(39,66,48)
#233B2A
(35,59,42)
#1F3424
(31,52,36)
#1B2D1E
(27,45,30)
#172618
(23,38,24)
#131F12
(19,31,18)
#0F180C
(15,24,12)
#0B1106
(11,17,6)
#000000
(0,0,0)

Tints of #335742

#335742
(51,87,66)
#456653
(69,102,83)
#577564
(87,117,100)
#698475
(105,132,117)
#7B9386
(123,147,134)
#8DA297
(141,162,151)
#9FB1A8
(159,177,168)
#B1C0B9
(177,192,185)
#C3CFCA
(195,207,202)
#D5DEDB
(213,222,219)
#E7EDEC
(231,237,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #335742 color. Also use rgb(51,87,66) instead hex code.

Text Font Color

.myTextColor { color: #335742; }

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

This text font color is #335742.


Background Color

.myBgColor { background-color: #335742; }

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

This div background color is #335742.


Border color

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

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

This div border color is #335742.


Opacity

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

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

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

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

This text has shadow with #335742 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #335742 on black background.


Color preview on white background

This text has color #335742 on white background.



Black color preview on #335742 background

This text has black color on #335742 background.


White color preview on #335742 background

This text has white color on #335742 background.