COLOR #2A2838

HEX: #2A2838
RGB: (42,40,56)

Color info

#2A2838 contains red, green and blue colors in about the same proportion. Web safe color of #2A2838 is #333333 (or #333).

RGB color model

#2A2838 color RGB value is (42,40,56).

  • red value is 42;
  • green value is 40;
  • blue value is 56.
RGB:
(42,40,56)
(16%,16%,22%)

RGB channels and saturation

R 42 of 255 = 16%
G 40 of 255 = 16%
B 56 of 255 = 22%

42
40
56

R + G + B ~ 18%. #2A2838 is dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 40 + 56 = 138 (100%)
R 42 of 138 ~ 30.43%
G 40 of 138 ~ 28.99%
B 56 of 138 ~ 40.58%

%30.43
%28.99
%40.58

CMYK color model

#2A2838 color CMYK value is (25,29,0,78).

  • cyan value is 25.00%
  • magenta value is 28.57%
  • yellow value is 0.00%
  • key color value is 78.04%
CMYK:
(25,29,0,78)
C25M29Y0K78 
(25%,29%,0%,78%)
(0.25/0.29/0.00/0.78)	

CMYK percentages

%25
%28.57
%0
%78.04

Codes

Color #2A2838 in popluar color models

2A2838
RGB424056
HSL248°16.67%18.82%
HSB/HSV248°28.57%21.96%
CMYK25.00%28.57%0.00%
78.04%

Color #2A2838 in popluar number systems.

HEX2A2838
Decimal424056
Binary101010101000111000
Octal525070

Shades and tints

Shades of #2A2838

#2A2838
(42,40,56)
#272533
(39,37,51)
#24222E
(36,34,46)
#211F29
(33,31,41)
#1E1C24
(30,28,36)
#1B191F
(27,25,31)
#18161A
(24,22,26)
#151315
(21,19,21)
#121010
(18,16,16)
#0F0D0B
(15,13,11)
#0C0A06
(12,10,6)
#000000
(0,0,0)

Tints of #2A2838

#2A2838
(42,40,56)
#3D3B4A
(61,59,74)
#504E5C
(80,78,92)
#63616E
(99,97,110)
#767480
(118,116,128)
#898792
(137,135,146)
#9C9AA4
(156,154,164)
#AFADB6
(175,173,182)
#C2C0C8
(194,192,200)
#D5D3DA
(213,211,218)
#E8E6EC
(232,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A2838 color. Also use rgb(42,40,56) instead hex code.

Text Font Color

.myTextColor { color: #2A2838; }

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

This text font color is #2A2838.


Background Color

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

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

This div background color is #2A2838.


Border color

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

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

This div border color is #2A2838.


Opacity

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

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

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

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

This text has shadow with #2A2838 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A2838 on black background.


Color preview on white background

This text has color #2A2838 on white background.



Black color preview on #2A2838 background

This text has black color on #2A2838 background.


White color preview on #2A2838 background

This text has white color on #2A2838 background.