dfreeze13
|
  |
| Joined: 01 Mar 2010 |
| Total Posts: 39 |
|
|
| 19 Aug 2011 11:17 AM |
I put in a script:
gui.BackgroundColor3= Color3.new(255, 0, 0)
and the gui came out Black! Shouldn't it have been red? |
|
|
| Report Abuse |
|
|
Sam3812
|
  |
| Joined: 23 Nov 2007 |
| Total Posts: 1703 |
|
|
| 19 Aug 2011 11:18 AM |
| you need to use Color3.new(255/255,0,0) |
|
|
| Report Abuse |
|
|
dfreeze13
|
  |
| Joined: 01 Mar 2010 |
| Total Posts: 39 |
|
| |
|
dfreeze13
|
  |
| Joined: 01 Mar 2010 |
| Total Posts: 39 |
|
|
| 19 Aug 2011 11:20 AM |
| Thanks, it worked, but I've never had to do that before. Is this a new update? |
|
|
| Report Abuse |
|
|
Sam3812
|
  |
| Joined: 23 Nov 2007 |
| Total Posts: 1703 |
|
|
| 19 Aug 2011 11:22 AM |
| It's always been like that, R, G and B are all decimals, where 0,0,0 = black and 1,1,1 = white, by dividing each value by 255 you'll get the colour you want. |
|
|
| Report Abuse |
|
|
dfreeze13
|
  |
| Joined: 01 Mar 2010 |
| Total Posts: 39 |
|
|
| 19 Aug 2011 11:23 AM |
| Is it different for bricks? |
|
|
| Report Abuse |
|
|
Sam3812
|
  |
| Joined: 23 Nov 2007 |
| Total Posts: 1703 |
|
|
| 19 Aug 2011 11:27 AM |
you can use BrickColor.Color = Color3.new(r,g,b)
but most of the time BrickColor is done through a few different ways
BrickColor = BrickColor.White() - Returns white, also works for other colours BrickColor = BrickColor.Pallet(0-63) BrickColor = BrickColor.new(Val) Val Could be Color3, a number or a string.
Hope this helps. |
|
|
| Report Abuse |
|
|
|
| 19 Aug 2011 11:29 AM |
| They're floats. They're always between 0 and 1, inclusive. And it is not a new update. |
|
|
| Report Abuse |
|
|