Add Type::isHex function
Fix typehinting for Type::isHex
Implement Color class