Ported SColor.d