RGB normalization (kotone script)