From 711ec741e9c434fb7a44857466d478e899bf8a9b Mon Sep 17 00:00:00 2001 From: bagecka Date: Sat, 8 Dec 2018 23:44:50 -0800 Subject: [PATCH] Update stub Use RGB to Mix Colors (#33900) Added to content to stub article, Use RGB to Mix Colors. --- .../basic-css/use-rgb-to-mix-colors/index.md | 33 ++++++++++++++++--- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/guide/english/certifications/responsive-web-design/basic-css/use-rgb-to-mix-colors/index.md b/guide/english/certifications/responsive-web-design/basic-css/use-rgb-to-mix-colors/index.md index f84cc28145..7f18d11231 100644 --- a/guide/english/certifications/responsive-web-design/basic-css/use-rgb-to-mix-colors/index.md +++ b/guide/english/certifications/responsive-web-design/basic-css/use-rgb-to-mix-colors/index.md @@ -2,9 +2,32 @@ title: Use RGB to Mix Colors --- ## Use RGB to Mix Colors - -This is a stub. Help our community expand it. - -This quick style guide will help ensure your pull request gets accepted. - +An RGB value is a combination of values for red, green, and blue (RGB). Each perameter defines the intensity of the color as an integer between 0 (no color; black) and 255 (highest intensity) or a percentage from 0% to 100%. For example: +```css +rgb(255, 0, 0) +``` +This is rendered as red, because the red parameter is set to its highest value (255) and the others are set to 0. With RGB, you can mix colors by using combinations of different values. + +### Examples: +```css + +``` +Above is RGB is used to turn an h2 element blue. +```css + +``` +In this example above, different values of RGB are combined, and 'color: rgb(64, 224, 208)' turns the h2 elements turquoise. + + +#### More Information: +MDN web docs: Applying color to HTML elements using CSS
+W3schools Color Picker