COLOR #2A0058

HEX: #2A0058
RGB: (42,0,88)

Color info

#2A0058 contains only red and blue colors. Web safe color of #2A0058 is #330066 (or #306).

RGB color model

#2A0058 color RGB value is (42,0,88).

  • red value is 42;
  • green value is 0;
  • blue value is 88.
RGB:
(42,0,88)
(16%,0%,35%)

RGB channels and saturation

R 42 of 255 = 16%
G 0 of 255 = 0%
B 88 of 255 = 35%

42
0
88

R + G + B ~ 17%. #2A0058 is dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 0 + 88 = 130 (100%)
R 42 of 130 ~ 32.31%
G 0 of 130 ~ 0%
B 88 of 130 ~ 67.69%

%32.31
%67.69

CMYK color model

#2A0058 color CMYK value is (52,100,0,65).

  • cyan value is 52.27%
  • magenta value is 100.00%
  • yellow value is 0.00%
  • key color value is 65.49%
CMYK:
(52,100,0,65)
C52M100Y0K65 
(52%,100%,0%,65%)
(0.52/1.00/0.00/0.65)	

CMYK percentages

%52.27
%100
%0
%65.49

Codes

Color #2A0058 in popluar color models

2A0058
RGB42088
HSL269°100.00%17.25%
HSB/HSV269°100.00%34.51%
CMYK52.27%100.00%0.00%
65.49%

Color #2A0058 in popluar number systems.

HEX2A0058
Decimal42088
Binary10101001011000
Octal520130

Shades and tints

Shades of #2A0058

#2A0058
(42,0,88)
#270050
(39,0,80)
#240048
(36,0,72)
#210040
(33,0,64)
#1E0038
(30,0,56)
#1B0030
(27,0,48)
#180028
(24,0,40)
#150020
(21,0,32)
#120018
(18,0,24)
#0F0010
(15,0,16)
#0C0008
(12,0,8)
#000000
(0,0,0)

Tints of #2A0058

#2A0058
(42,0,88)
#3D1767
(61,23,103)
#502E76
(80,46,118)
#634585
(99,69,133)
#765C94
(118,92,148)
#8973A3
(137,115,163)
#9C8AB2
(156,138,178)
#AFA1C1
(175,161,193)
#C2B8D0
(194,184,208)
#D5CFDF
(213,207,223)
#E8E6EE
(232,230,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #2A0058; }

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

This text font color is #2A0058.


Background Color

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

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

This div background color is #2A0058.


Border color

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

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

This div border color is #2A0058.


Opacity

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

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

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

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

This text has shadow with #2A0058 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A0058 on black background.


Color preview on white background

This text has color #2A0058 on white background.



Black color preview on #2A0058 background

This text has black color on #2A0058 background.


White color preview on #2A0058 background

This text has white color on #2A0058 background.