Home
HTML
HTML RGB Colors
Example 1: HTML RGB Colors
Run ❯❯
<!DOCTYPE html> <html> <head> <title>RGB Color Example</title> </head> <body> <h1 style="color:LightSeaGreen;">The heading color is set by its name LightSeaGreen.</h1> <p style="background-color:rgb(32, 178, 170);">Background Color of the paragrah is set with rgb value, rgb(32, 178, 170). The RGB value of LightSeaGreen is rgb(32,178,170). So now you know that the color can be set with an RGB value too.</p> </body> </html>