Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to get the 3 color values from Color3?

Asked by 4 years ago

Is there a way you can get each color from a Color3 value through a script? There is one color3 I wanted to get:

Convert.TextStrokeColor3 = Color3.new(0, 0.65098, 1)

so what would I do to be able to get the values of 0, 0.65098, 1?

1 answer

Log in to vote
1
Answered by
ArtBlart 533 Moderation Voter
4 years ago

Color3 values have individual properties for this, indexed as value.R, value.G and value.B. More information on Color3 can be found here.

Hope this helps! If you have any further questions feel free to comment or look things up on the devforum.

0
Perhaps I should at least do some research before posting questions, but thanks for the answer! RedWirePlatinum 53 — 4y
1
no worries man, glad you got it figured out at least! ArtBlart 533 — 4y
Ad

Answer this question