the green channel from 0 to 255
the blue channel from 0 to 255
FOLD assignment character
Map a color to an edge_assignment value, of course, this uses one of many color schemes, hopefully this is one of the more widely-accepted schemes, however. The benefit of using this method is that it will, for example, match a red color to "mountain", accepting any red color, so long as this red color is not too close to yellow or gray, it counts. "Mountain" and "valley" are red and blue respectively, "unassigned" is purple (being blue + red), and then, following the standard put forth by Origami Simulator, yellow is "join" and green is "cut". This leaves "boundary" and "flat", which both take a grayscale value, and should be detected geometrically (boundary edges), but this method will still differentiate, "boundary" is black and "flat" is gray.
the red channel from 0 to 255