Repository: godot
Issue: Color values outside the range of representable values of type 'unsigned char'
Labels: bug,topic:core,confirmed

**Godot version:**
Godot 3.2 Beta 1
**Issue description:**
```
core/color.cpp:55:27: runtime error: 8.04522e+16 is outside the range of representable values of type 'unsigned char'
core/color.cpp:57:27: runtime error: 2.80387e+16 is outside the range of representable values of type 'unsigned char'
core/color.cpp:59:27: runtime error: 1.07219e+17 is outside the range of representable values of type 'unsigned char'
core/color.cpp:94:28: runtime error: 2.75553e+19 is outside the range of representable values of type 'short unsigned int'
core/color.cpp:96:28: runtime error: 7.20595e+18 is outside the range of representable values of type 'short unsigned int'
core/color.cpp:98:28: runtime error: 2.06762e+19 is outside the range of representable values of type 'short unsigned int'
core/color.cpp:105:36: runtime error: 2.72692e+19 is outside the range of representable values of type 'short unsigned int'
core/color.cpp:107:28: runtime error: 7.0107e+18 is outside the range of representable values of type 'short unsigned int'
core/color.cpp:109:28: runtime error: 8.46188e+18 is outside the range of representable values of type 'short unsigned int'
core/color.cpp:53:35: runtime error: 5.03603e+16 is outside the range of representable values of type 'unsigned char'
core/color.cpp:92:36: runtime error: 1.29426e+19 is outside the range of representable values of type 'short unsigned int'
core/color.cpp:66:35: runtime error: 8.748e+16 is outside the range of representable values of type 'unsigned char'
core/color.cpp:68:27: runtime error: 5.48411e+16 is outside the range of representable values of type 'unsigned char'
core/color.cpp:70:27: runtime error: 4.08141e+16 is outside the range of representable values of type 'unsigned char'
core/color.cpp:72:27: runtime error: 5.03603e+16 is outside the range of representable values of type 'unsigned char'
core/color.cpp:79:36: runtime error: 4.22969e+18 is outside the range of representable values of type 'short unsigned int'
core/color.cpp:81:28: runtime error: 1.26467e+19 is outside the range of representable values of type 'short unsigned int'
core/color.cpp:83:28: runtime error: 2.59119e+19 is outside the range of representable values of type 'short unsigned int'
core/color.cpp:85:28: runtime error: 3.43659e+18 is outside the range of representable values of type 'short unsigned int'
core/color.cpp:40:35: runtime error: 1.64579e+16 is outside the range of representable values of type 'unsigned char'
core/color.cpp:42:27: runtime error: 1.33719e+16 is outside the range of representable values of type 'unsigned char'
core/color.cpp:44:27: runtime error: 1.00824e+17 is outside the range of representable values of type 'unsigned char'
core/color.cpp:46:27: runtime error: 4.92091e+16 is outside the range of representable values of type 'unsigned char'
core/color.cpp:426:21: runtime error: 1.33719e+16 is outside the range of representable values of type 'int'
core/color.cpp:111:28: runtime error: 4.22969e+18 is outside the range of representable values of type 'short unsigned int'
```
**Steps to reproduce:**
1. Run project(to see errors run Godot compiled with sanitizer support)

**Minimal reproduction project:**
[C.zip](https://github.com/godotengine/godot/files/3852724/C.zip)