Advertisement
SebTDZ

Roblox RGB to Color3 Function

Jul 19th, 2019
410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. function rgb(RED,GREEN,BLUE)
  2.     local Count = 1 / 255
  3.     --Red Count
  4.     local red = Count * RED
  5.     --Green Count
  6.     local green = Count * GREEN
  7.     --Blue Count
  8.     local blue = Count * BLUE
  9.     --Give Color3
  10.     local FColor = Color3.new(red,green,blue)
  11.     return FColor
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement