fixed toHexString
added toHexString to PrintTypeColor
fixed toHexString