D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
aaizemberg
Full window
Github gist
color testing
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>>SVG color testing</title> </head> <body> <svg height="500" width="500"> <circle cx="50" cy="50" r="40" stroke="white" stroke-width="1" fill="red" /> <circle cx="150" cy="50" r="40" stroke="white" stroke-width="1" fill="green" /> <circle cx="100" cy="75" r="40" stroke="white" stroke-width="1" fill="blue" /> <circle cx="50" cy="125" r="40" stroke="white" stroke-width="1" fill="yellow" /> <circle cx="150" cy="125" r="40" stroke="white" stroke-width="1" fill="magenta" /> <circle cx="100" cy="150" r="40" stroke="white" stroke-width="1" fill="cyan" /> <circle cx="50" cy="200" r="40" stroke="white" stroke-width="1" fill="black" /> <circle cx="150" cy="200" r="40" stroke="black" stroke-width="1" fill="white" /> </svg> </body> </html>