Home
HTML
HTML RGB Colors
Example 4: HTML RGB Colors
Run ❯❯
<!DOCTYPE html> <html> <head> <title>RGB Blue Color Example</title> </head> <body> <h1 style="color:rgb(0, 0, 255);">The heading color is set to blue by RGB value.</h1> <p style="background-color:rgb(0, 0, 255);">Background Color of this paragrah is set with rgb value, rgb(0, 0, 255). Red value is set to 0. Green is set to 0 and Blue is set 255.</p> </body> </html>