fixed setting three-digit hex color (Issue #1)