RGB codes use light mixing rules. This is fine, can take some getting used to if you are used to pigment.
RYB would be a primary color code scheme. It wouldn't cover the same range of colors. I'm thinking about how one would code a conversion function between the two from "first principals" ... I think RYBB would allow the same range of colors if "B" is black.
