I'm working on a project that uses the pen to graph basic linear functions, and I would like to make each function have its own color. I want to make a list of the hex codes of each block category's color. I know how to get a hex code, but I don't know how to set the pen color to it. Can anyone help?
EDIT: For others who wanted the solution, the one that's listed only applies to RGB, not hex codes.