Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 27 Oct 2011 07:42 PM |
| Okay, I don't get how the Color3 Value works, like 255,255,255, is that suppose to be white or black? Btw, is there an easy way to use to color guis? |
|
|
| Report Abuse |
|
|
Seranok
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 11083 |
|
|
| 27 Oct 2011 07:44 PM |
RGB Red Green Blue 0-255, 0-255, 0-255
It's telling the computer how much red, green, and blue to put in that color. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 27 Oct 2011 07:45 PM |
| Okay, so 255,255,255 means black right? |
|
|
| Report Abuse |
|
|
|
| 27 Oct 2011 07:46 PM |
Well for some reason, ROBLOX decided to use a 0 through 1 scale instead of 0 through 255... Here is a quick Color3 conversion function:
C3 = function(Red, Green, Blue) return Color3.new(Red / 255, Green / 255, Blue / 255) end
And to use it, just replace Color3.new with C3.
----------
Color3 is ROBLOX's color function. It is based off of 0 through 1, red, green, and blue. So if you have Red set to 1, Green set to 0, and Blue set to 1, it would turn Pink... It is just memorization really, and color mixing. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 27 Oct 2011 07:48 PM |
| Okay, now I get it, but I still don't get why it shouldn't be RYB. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 27 Oct 2011 07:49 PM |
| Wait nvm, I think it's because it's the only way to create black. |
|
|
| Report Abuse |
|
|
|
| 27 Oct 2011 07:50 PM |
RYB = Red, Yellow, Blue
Yellow can be created with Color3.new(1, 1, 0) -- (Red: 1, Green: 1, Blue: 0)
but you can't make Green with Red, Yellow, and Blue... |
|
|
| Report Abuse |
|
|
|
| 27 Oct 2011 07:54 PM |
the reason that roblox uses rgb is because computers combine emitted light to create colors, also known as the additive color system, and the three primary colors for the additive system are red green and blue.
in subtractive color systems (painting i guess), red yellow and blue are the primary colors. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 27 Oct 2011 07:55 PM |
Ok, that's alot clear now, thanks.
~DIE POST DIE! |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 27 Oct 2011 09:55 PM |
| WOW! I was gonna say the first three posts but NO I WAS TO LATE! |
|
|
| Report Abuse |
|
|
Rairyu
|
  |
| Joined: 11 Apr 2011 |
| Total Posts: 815 |
|
|
| 27 Oct 2011 11:20 PM |
| Well Color3 works in Sparkles, and Smoke, animations, but not like bricks. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 28 Oct 2011 05:11 PM |
^ That is untrue
game.Workspace.Part.Color = Color3.new(0, 0, 0)
|
|
|
| Report Abuse |
|
|
|
| 28 Oct 2011 05:26 PM |
255,255,255 = white
1,1,1 = black |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 28 Oct 2011 05:30 PM |
@Lightmaster
0,0,0 is also black... |
|
|
| Report Abuse |
|
|