COLOR #2A6252

HEX: #2A6252 RGB: (42,98,82)

Color info

#2A6252 contains red, green and blue colors in about the same proportion. Web safe color of #2A6252 is #336666 (or #366).

RGB color model

#2A6252 color RGB value is (42,98,82).

RGB: (42,98,82) (16%, 38%, 32%)

RGB channels and saturation

R 42 of 255 = 16%
G 98 of 255 = 38%
B 82 of 255 = 32%

42
98
82

R + G + B ~ 29%. #2A6252 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 98 + 82 = 222 (100%)
R 42 of 222 ~ 18.92%
G 98 of 222 ~ 44.14%
B 82 of 222 ~ 36.94'%

%18.92
%44.14
%36.94

CMYK color model

#2A6252 color CMYK value is (57,0,16,62).

  • cyan value is 57.14%
  • magenta value is 0.00%
  • yellow value is 16.33%
  • key color value is 61.57%
CMYK: (57,0,16,62) C57M0Y16K62 (57%,0%,16%,62%) (0.57/0.00/0.16/0.62) 

CMYK percentages

%57.14
%0
%16.33
%61.57

Codes

Color #2A6252 in popluar color models

2A 62 52
RGB 42 98 82
HSL 163° 40.00% 27.45%
HSB/HSV 163° 57.14% 38.43%
CMYK 57.14% 0.00% 16.33%
61.57%

Color #2A6252 in popluar number systems.

HEX 2A 62 52
Decimal 42 98 82
Binary 101010 1100010 1010010
Octal 52 142 122

Shades and tints

Shades of #2A6252

#2A6252
(42,98,82)
#275A4B
(39,90,75)
#245244
(36,82,68)
#214A3D
(33,74,61)
#1E4236
(30,66,54)
#1B3A2F
(27,58,47)
#183228
(24,50,40)
#152A21
(21,42,33)
#12221A
(18,34,26)
#0F1A13
(15,26,19)
#0C120C
(12,18,12)
#000000
(0,0,0)

Tints of #2A6252

#2A6252
(42,98,82)
#3D7061
(61,112,97)
#507E70
(80,126,112)
#638C7F
(99,140,127)
#769A8E
(118,154,142)
#89A89D
(137,168,157)
#9CB6AC
(156,182,172)
#AFC4BB
(175,196,187)
#C2D2CA
(194,210,202)
#D5E0D9
(213,224,217)
#E8EEE8
(232,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A6252 color. Also use rgb(42,98,82) instead hex code.

Text Font Color

.myTextColor { color: #2A6252; }

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

This text font color is #2A6252.

Background Color

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

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

This div background color is #2A6252.

Border color

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

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

This div border color is #2A6252.

Opacity

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

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

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

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

This text has shadow with #2A6252 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A6252.

Preview

Color preview on black background

This text has color #2A6252 on black background.


Color preview on white background

This text has color #2A6252 on white background.


Black color preview on #2A6252 background

This text has black color on #2A6252 background.


White color preview on #2A6252 background

This text has white color on #2A6252 background.


Related colors

Complementary color

Complementary color for #hex is #D59DAD.


I love getcolorcode.com

Triadic colors

1 #522A62 and #62522A with #2A6252 are triadic colors.

2 #52622A and #622A52 with #2A6252 are triadic colors.