I've encountered an issue where I want to create skill bars that display my skills in percentages. Luckily, I found a great code that allows me to do this. Although I would prefer to do it myself, I haven't come across a good tutorial that teaches me how to (if you know one, please share).
Now, my question is how can I modify the colors of these different strokes?
self.context.clearRect( 0, 0, self.width, self.height );
self.context.lineWidth = 10;
self.context.fillStyle = "#000";
self.context.strokeStyle = "#666";
self.context.textAlign = "center";
You can find the code I found in the link below.