HSV primary colors
How to draw primary colors using the HSV color mode.
var r = new Rune({ container: "#canvas", width: 600, height: 400, debug: true }); r.rect(0, 0, 200, r.height) .fill('hsv', 0, 100, 100) .stroke(false); r.rect(200, 0, 200, r.height) .fill('hsv', 120, 100, 100) .stroke(false); r.rect(400, 0, 200, r.height) .fill('hsv', 240, 100, 100) .stroke(false); r.draw();
< Back to examples