COLOR #2A4F52

HEX: #2A4F52
RGB: (42,79,82)

Color info

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

RGB color model

#2A4F52 color RGB value is (42,79,82).

  • red value is 42;
  • green value is 79;
  • blue value is 82.
RGB: (42,79,82) (16%,31%,32%)

RGB channels and saturation

R 42 of 255 = 16%
G 79 of 255 = 31%
B 82 of 255 = 32%

42
79
82

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

Portions of RGB colors in percentages

R + G + B =
42 + 79 + 82 = 203 (100%)
R 42 of 203 ~ 20.69%
G 79 of 203 ~ 38.92%
B 82 of 203 ~ 40.39%

%20.69
%38.92
%40.39

CMYK color model

#2A4F52 color CMYK value is (49,4,0,68).

  • cyan value is 48.78%
  • magenta value is 3.66%
  • yellow value is 0.00%
  • key color value is 67.84%
CMYK: (49,4,0,68) C49M4Y0K68 (49%,4%,0%,68%) (0.49/0.04/0.00/0.68)

CMYK percentages

%48.78
%3.66
%0
%67.84

Codes

Color #2A4F52 in popluar color models

2A4F52
RGB427982
HSL185°32.26%24.31%
HSB/HSV185°48.78%32.16%
CMYK48.78%3.66%0.00%
67.84%

Color #2A4F52 in popluar number systems.

HEX2A4F52
Decimal427982
Binary10101010011111010010
Octal52117122

Shades and tints

Shades of #2A4F52

#2A4F52
(42,79,82)
#27484B
(39,72,75)
#244144
(36,65,68)
#213A3D
(33,58,61)
#1E3336
(30,51,54)
#1B2C2F
(27,44,47)
#182528
(24,37,40)
#151E21
(21,30,33)
#12171A
(18,23,26)
#0F1013
(15,16,19)
#0C090C
(12,9,12)
#000000
(0,0,0)

Tints of #2A4F52

#2A4F52
(42,79,82)
#3D5F61
(61,95,97)
#506F70
(80,111,112)
#637F7F
(99,127,127)
#768F8E
(118,143,142)
#899F9D
(137,159,157)
#9CAFAC
(156,175,172)
#AFBFBB
(175,191,187)
#C2CFCA
(194,207,202)
#D5DFD9
(213,223,217)
#E8EFE8
(232,239,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A4F52; }

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

This text font color is #2A4F52.


Background Color

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

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

This div background color is #2A4F52.


Border color

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

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

This div border color is #2A4F52.


Opacity

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

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

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

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

This text has shadow with #2A4F52 color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #2A4F52 on black background.


Color preview on white background

This text has color #2A4F52 on white background.



Black color preview on #2A4F52 background

This text has black color on #2A4F52 background.


White color preview on #2A4F52 background

This text has white color on #2A4F52 background.