Add support for percentage based RGB colors to the inline color editor

Fix for #2050