|
| 15 Feb 2016 01:41 AM |
Ok so, if I were to put Color3.new(255,230,255) Color3.new(255,200,255) --etc... Color3.new(255,0,255)
It would only show (255,0,255) and the rest would be White.
Why does it do this?
--Notice: This is fore a Gui Text, attempting to make a fade_in-fade_out Nametag for high levels.
|
|
|
| Report Abuse |
|
|
|
| 15 Feb 2016 01:42 AM |
| How would I get it to fade in if this way doesn't work? |
|
|
| Report Abuse |
|
|
gangman67
|
  |
| Joined: 04 Jun 2011 |
| Total Posts: 798 |
|
|
| 15 Feb 2016 01:43 AM |
| Color3.new(255/255,230/255,255/255) |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2016 01:44 AM |
I'm not 100% sure WHY/HOW this works, but for GUI's you will need to divide the rgb by 255 The colours work on a scale of 0-1
0 being black, 1 being one
255 works because 255/255 = 1, therefore white. so...
Color3.new(1,230/255,1) Color3.new(1,200/255,1) |
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Feb 2016 02:02 AM |
The user interface handles color3's rgb from 0-255 The scripting interface handles color3's rgb from 0-1
Color3.new(r/255,g/255,b/255)
Yet another inconsistency from ROBLOX...
You're doing it wrong |
|
|
| Report Abuse |
|
|