COLOR #2A4754

HEX: #2A4754
RGB: (42,71,84)

Color info

#2A4754 contains red, green and blue colors in about the same proportion. Web safe color of #2A4754 is #333366 (or #336).

RGB color model

#2A4754 color RGB value is (42,71,84).

  • red value is 42;
  • green value is 71;
  • blue value is 84.
RGB:
(42,71,84)
(16%,28%,33%)

RGB channels and saturation

R 42 of 255 = 16%
G 71 of 255 = 28%
B 84 of 255 = 33%

42
71
84

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

Portions of RGB colors in percentages

R + G + B =
42 + 71 + 84 = 197 (100%)
R 42 of 197 ~ 21.32%
G 71 of 197 ~ 36.04%
B 84 of 197 ~ 42.64%

%21.32
%36.04
%42.64

CMYK color model

#2A4754 color CMYK value is (50,15,0,67).

  • cyan value is 50.00%
  • magenta value is 15.48%
  • yellow value is 0.00%
  • key color value is 67.06%
CMYK:
(50,15,0,67)
C50M15Y0K67 
(50%,15%,0%,67%)
(0.50/0.15/0.00/0.67)	

CMYK percentages

%50
%15.48
%0
%67.06

Codes

Color #2A4754 in popluar color models

2A4754
RGB427184
HSL199°33.33%24.71%
HSB/HSV199°50.00%32.94%
CMYK50.00%15.48%0.00%
67.06%

Color #2A4754 in popluar number systems.

HEX2A4754
Decimal427184
Binary10101010001111010100
Octal52107124

Shades and tints

Shades of #2A4754

#2A4754
(42,71,84)
#27414D
(39,65,77)
#243B46
(36,59,70)
#21353F
(33,53,63)
#1E2F38
(30,47,56)
#1B2931
(27,41,49)
#18232A
(24,35,42)
#151D23
(21,29,35)
#12171C
(18,23,28)
#0F1115
(15,17,21)
#0C0B0E
(12,11,14)
#000000
(0,0,0)

Tints of #2A4754

#2A4754
(42,71,84)
#3D5763
(61,87,99)
#506772
(80,103,114)
#637781
(99,119,129)
#768790
(118,135,144)
#89979F
(137,151,159)
#9CA7AE
(156,167,174)
#AFB7BD
(175,183,189)
#C2C7CC
(194,199,204)
#D5D7DB
(213,215,219)
#E8E7EA
(232,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A4754 color. Also use rgb(42,71,84) instead hex code.

Text Font Color

.myTextColor { color: #2A4754; }

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

This text font color is #2A4754.


Background Color

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

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

This div background color is #2A4754.


Border color

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

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

This div border color is #2A4754.


Opacity

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

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

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

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

This text has shadow with #2A4754 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A4754 on black background.


Color preview on white background

This text has color #2A4754 on white background.



Black color preview on #2A4754 background

This text has black color on #2A4754 background.


White color preview on #2A4754 background

This text has white color on #2A4754 background.