Do not cut out of range numbers in C.rgb.RGB()