implementing GLPrimitive for Colour