COLOR #2F5842

HEX: #2F5842
RGB: (47,88,66)

Color info

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

RGB color model

#2F5842 color RGB value is (47,88,66).

  • red value is 47;
  • green value is 88;
  • blue value is 66.
RGB:
(47,88,66)
(18%,35%,26%)

RGB channels and saturation

R 47 of 255 = 18%
G 88 of 255 = 35%
B 66 of 255 = 26%

47
88
66

R + G + B ~ 26%. #2F5842 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
47 + 88 + 66 = 201 (100%)
R 47 of 201 ~ 23.38%
G 88 of 201 ~ 43.78%
B 66 of 201 ~ 32.84%

%23.38
%43.78
%32.84

CMYK color model

#2F5842 color CMYK value is (47,0,25,65).

  • cyan value is 46.59%
  • magenta value is 0.00%
  • yellow value is 25.00%
  • key color value is 65.49%
CMYK:
(47,0,25,65)
C47M0Y25K65 
(47%,0%,25%,65%)
(0.47/0.00/0.25/0.65)	

CMYK percentages

%46.59
%0
%25
%65.49

Codes

Color #2F5842 in popluar color models

2F5842
RGB478866
HSL148°30.37%26.47%
HSB/HSV148°46.59%34.51%
CMYK46.59%0.00%25.00%
65.49%

Color #2F5842 in popluar number systems.

HEX2F5842
Decimal478866
Binary10111110110001000010
Octal57130102

Shades and tints

Shades of #2F5842

#2F5842
(47,88,66)
#2B503C
(43,80,60)
#274836
(39,72,54)
#234030
(35,64,48)
#1F382A
(31,56,42)
#1B3024
(27,48,36)
#17281E
(23,40,30)
#132018
(19,32,24)
#0F1812
(15,24,18)
#0B100C
(11,16,12)
#070806
(7,8,6)
#000000
(0,0,0)

Tints of #2F5842

#2F5842
(47,88,66)
#416753
(65,103,83)
#537664
(83,118,100)
#658575
(101,133,117)
#779486
(119,148,134)
#89A397
(137,163,151)
#9BB2A8
(155,178,168)
#ADC1B9
(173,193,185)
#BFD0CA
(191,208,202)
#D1DFDB
(209,223,219)
#E3EEEC
(227,238,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2F5842 color. Also use rgb(47,88,66) instead hex code.

Text Font Color

.myTextColor { color: #2F5842; }

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

This text font color is #2F5842.


Background Color

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

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

This div background color is #2F5842.


Border color

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

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

This div border color is #2F5842.


Opacity

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

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

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

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

This text has shadow with #2F5842 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2F5842 on black background.


Color preview on white background

This text has color #2F5842 on white background.



Black color preview on #2F5842 background

This text has black color on #2F5842 background.


White color preview on #2F5842 background

This text has white color on #2F5842 background.