COLOR #2A5852

HEX: #2A5852 RGB: (42,88,82)

Color info

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

RGB color model

#2A5852 color RGB value is (42,88,82).

RGB: (42,88,82) (16%, 35%, 32%)

RGB channels and saturation

R 42 of 255 = 16%
G 88 of 255 = 35%
B 82 of 255 = 32%

42
88
82

R + G + B ~ 28%. #2A5852 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 88 + 82 = 212 (100%)
R 42 of 212 ~ 19.81%
G 88 of 212 ~ 41.51%
B 82 of 212 ~ 38.68'%

%19.81
%41.51
%38.68

CMYK color model

#2A5852 color CMYK value is (52,0,7,65).

  • cyan value is 52.27%
  • magenta value is 0.00%
  • yellow value is 6.82%
  • key color value is 65.49%

CMYK: (52,0,7,65)
C52M0Y7K65 (52%, 0%, 7%, 65%)
(0.52 / 0.00 / 0.07 / 0.65)

CMYK percentages

%52.27
%0
%6.82
%65.49

Codes

Color #2A5852 in popluar color models

2A 58 52
RGB 42 88 82
HSL 172° 35.38% 25.49%
HSB/HSV 172° 52.27% 34.51%
CMYK 52.27% 0.00% 6.82%
65.49%

Color #2A5852 in popluar number systems.

HEX 2A 58 52
Decimal 42 88 82
Binary 101010 1011000 1010010
Octal 52 130 122

Shades and tints

Shades of #2A5852

#2A5852
(42,88,82)
#27504B
(39,80,75)
#244844
(36,72,68)
#21403D
(33,64,61)
#1E3836
(30,56,54)
#1B302F
(27,48,47)
#182828
(24,40,40)
#152021
(21,32,33)
#12181A
(18,24,26)
#0F1013
(15,16,19)
#0C080C
(12,8,12)
#000000
(0,0,0)

Tints of #2A5852

#2A5852
(42,88,82)
#3D6761
(61,103,97)
#507670
(80,118,112)
#63857F
(99,133,127)
#76948E
(118,148,142)
#89A39D
(137,163,157)
#9CB2AC
(156,178,172)
#AFC1BB
(175,193,187)
#C2D0CA
(194,208,202)
#D5DFD9
(213,223,217)
#E8EEE8
(232,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A5852; }

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

This text font color is #2A5852.

Background Color

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

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

This div background color is #2A5852.

Border color

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

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

This div border color is #2A5852.

Opacity

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

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

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

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

This text has shadow with #2A5852 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A5852.

Preview

Color preview on black background

This text has color #2A5852 on black background.


Color preview on white background

This text has color #2A5852 on white background.


Black color preview on #2A5852 background

This text has black color on #2A5852 background.


White color preview on #2A5852 background

This text has white color on #2A5852 background.


Related colors

Complementary color

Complementary color for #hex is #D5A7AD.


I love getcolorcode.com

Triadic colors

1 #522A58 and #58522A with #2A5852 are triadic colors.

2 #52582A and #582A52 with #2A5852 are triadic colors.