COLOR #C040C7

HEX: #C040C7
RGB: (192,64,199)

Color info

#C040C7 contains mainly red and blue colors. Web safe color of #C040C7 is #CC33CC (or #C3C).

RGB color model

#C040C7 color RGB value is (192,64,199).

  • red value is 192;
  • green value is 64;
  • blue value is 199.
RGB:
(192,64,199)
(75%,25%,78%)

RGB channels and saturation

R 192 of 255 = 75%
G 64 of 255 = 25%
B 199 of 255 = 78%

192
64
199

R + G + B ~ 59%. #C040C7 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
192 + 64 + 199 = 455 (100%)
R 192 of 455 ~ 42.2%
G 64 of 455 ~ 14.07%
B 199 of 455 ~ 43.74%

%42.2
%14.07
%43.74

CMYK color model

#C040C7 color CMYK value is (4,68,0,22).

  • cyan value is 3.52%
  • magenta value is 67.84%
  • yellow value is 0.00%
  • key color value is 21.96%
CMYK:
(4,68,0,22)
C4M68Y0K22 
(4%,68%,0%,22%)
(0.04/0.68/0.00/0.22)	

CMYK percentages

%3.52
%67.84
%0
%21.96

Codes

Color #C040C7 in popluar color models

C040C7
RGB19264199
HSL297°54.66%51.57%
HSB/HSV297°67.84%78.04%
CMYK3.52%67.84%0.00%
21.96%

Color #C040C7 in popluar number systems.

HEXC040C7
Decimal19264199
Binary11000000100000011000111
Octal300100307

Shades and tints

Shades of #C040C7

#C040C7
(192,64,199)
#AF3BB5
(175,59,181)
#9E36A3
(158,54,163)
#8D3191
(141,49,145)
#7C2C7F
(124,44,127)
#6B276D
(107,39,109)
#5A225B
(90,34,91)
#491D49
(73,29,73)
#381837
(56,24,55)
#271325
(39,19,37)
#160E13
(22,14,19)
#000000
(0,0,0)

Tints of #C040C7

#C040C7
(192,64,199)
#C551CC
(197,81,204)
#CA62D1
(202,98,209)
#CF73D6
(207,115,214)
#D484DB
(212,132,219)
#D995E0
(217,149,224)
#DEA6E5
(222,166,229)
#E3B7EA
(227,183,234)
#E8C8EF
(232,200,239)
#EDD9F4
(237,217,244)
#F2EAF9
(242,234,249)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #C040C7 color. Also use rgb(192,64,199) instead hex code.

Text Font Color

.myTextColor { color: #C040C7; }

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

This text font color is #C040C7.


Background Color

.myBgColor { background-color: #C040C7; }

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

This div background color is #C040C7.


Border color

.myBorderColor { border: 1px solid #C040C7; }

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

This div border color is #C040C7.


Opacity

.myOpacity80 { color: #C040C7; opacity: 0.8; }

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

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

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

This text has shadow with #C040C7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #C040C7 on black background.


Color preview on white background

This text has color #C040C7 on white background.



Black color preview on #C040C7 background

This text has black color on #C040C7 background.


White color preview on #C040C7 background

This text has white color on #C040C7 background.