generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Color3.new() color values are hard please help

Previous Thread :: Next Thread 
fruitygeneration is not online. fruitygeneration
Joined: 21 Mar 2012
Total Posts: 585
17 Sep 2014 06:24 PM
If 255,255,255 is 1,1,1 in the Color3.new() command, what is 98,69,29 in the Color3.new() command?
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
17 Sep 2014 06:26 PM
98/255,69/255,29/255
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
17 Sep 2014 06:34 PM
They're not hard, you're doing it wrong.

The Color3 scale goes off of arguments out of 255.

So it's RBG right?

Color3.new(255/255,0,0), Can also be, Color3.new(1,0,0) because 255/255 = 1

That would make it red.

So to make yours work;

Color3.new(98/255,69/255,29/255)

..It can also be put as decimals, like say; Color3.new(0,10/255,0) would also be Color3.new(0,0.55,0) because 10/255 = .55 But the best way would just to put a number out of 255 even if it isn't as neat as you'd like.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image