COLOR #2852A1

HEX: #2852A1 RGB: (40,82,161)

Color info

#2852A1 contains mainly blue color. Web safe color of #2852A1 is #336699 (or #369).

RGB color model

#2852A1 color RGB value is (40,82,161).

RGB: (40,82,161) (16%, 32%, 63%)

RGB channels and saturation

R 40 of 255 = 16%
G 82 of 255 = 32%
B 161 of 255 = 63%

40
82
161

R + G + B ~ 37%. #2852A1 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 40 + 82 + 161 = 283 (100%)
R 40 of 283 ~ 14.13%
G 82 of 283 ~ 28.98%
B 161 of 283 ~ 56.89'%

%14.13
%28.98
%56.89

CMYK color model

#2852A1 color CMYK value is (75,49,0,37).

  • cyan value is 75.16%
  • magenta value is 49.07%
  • yellow value is 0.00%
  • key color value is 36.86%

CMYK: (75,49,0,37)
C75M49Y0K37 (75%, 49%, 0%, 37%)
(0.75 / 0.49 / 0.00 / 0.37)

CMYK percentages

%75.16
%49.07
%0
%36.86

Codes

Color #2852A1 in popluar color models

28 52 A1
RGB 40 82 161
HSL 219° 60.20% 39.41%
HSB/HSV 219° 75.16% 63.14%
CMYK 75.16% 49.07% 0.00%
36.86%

Color #2852A1 in popluar number systems.

HEX 28 52 A1
Decimal 40 82 161
Binary 101000 1010010 10100001
Octal 50 122 241

Shades and tints

Shades of #2852A1

#2852A1
(40,82,161)
#254B93
(37,75,147)
#224485
(34,68,133)
#1F3D77
(31,61,119)
#1C3669
(28,54,105)
#192F5B
(25,47,91)
#16284D
(22,40,77)
#13213F
(19,33,63)
#101A31
(16,26,49)
#0D1323
(13,19,35)
#0A0C15
(10,12,21)
#000000
(0,0,0)

Tints of #2852A1

#2852A1
(40,82,161)
#3B61A9
(59,97,169)
#4E70B1
(78,112,177)
#617FB9
(97,127,185)
#748EC1
(116,142,193)
#879DC9
(135,157,201)
#9AACD1
(154,172,209)
#ADBBD9
(173,187,217)
#C0CAE1
(192,202,225)
#D3D9E9
(211,217,233)
#E6E8F1
(230,232,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2852A1 color. Also use rgb(40,82,161) instead hex code.

Text Font Color

.myTextColor { color: #2852A1; }

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

This text font color is #2852A1.

Background Color

.myBgColor { background-color: #2852A1; }

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

This div background color is #2852A1.

Border color

.myBorderColor { border: 1px solid #2852A1; }

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

This div border color is #2852A1.

Opacity

.myOpacity80 { color: #2852A1; opacity: 0.8; }

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

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

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

This text has shadow with #2852A1 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2852A1.

Preview

Color preview on black background

This text has color #2852A1 on black background.


Color preview on white background

This text has color #2852A1 on white background.


Black color preview on #2852A1 background

This text has black color on #2852A1 background.


White color preview on #2852A1 background

This text has white color on #2852A1 background.


Related colors

Complementary color

Complementary color for #hex is #D7AD5E.


I love getcolorcode.com

Triadic colors

1 #A12852 and #52A128 with #2852A1 are triadic colors.

2 #A15228 and #5228A1 with #2852A1 are triadic colors.