Fix rgb order for String functions

Use standard order for rgb.