Update canvas-graphics.js

getColor hsv update