How to get a image color (like pick screen color)

I want to get a image color like pick the screen color from the script (the image color property is not relevant)

I want to clone/pick the image color to make the background frame at the same color but the image color property is set on default (255,255,255)
image
The image is the blue one and I want to clone the color blue from the image and change it on the yellow frame

I looked on other forums and there are no one ask about this thing
Please help :frowning:

2 Likes

Hey @prajuksh, I don’t understand what you mean, could you define the problem more and what you want to achieve?

1 Like

Sorry for my bad english, I meant I have the image that I want to clone the image color from it (not clone the image color property) it something like when you choose ā€œpick screen colorā€ option from studio selecting color gui

1 Like

I’m not sure, but is that what you mean? I’m sorry if it’s not that, but I’m having a hard time understanding what it might be about

script.Parent.ImageColor3 = Color3.new(0,1,0)

1 Like

just make it change color depending on the reward
Also if U wanna get the color of an image use https://imagecolorpicker.com

1 Like

Thank you for trying to help me! But it no option to pick the image color from script.
So I will try to explain you more here:

1.I have the background blue image with the text at the middle (this image was created on other app not studio and I uploaded it to the roblox and use it)

2.The background transparency of this image label is = 1
The imageColor3 is set to Color3.fromRGB(255,255,255) (Default)

3.I want to clone the blue background color of my image from the local script automatically and set it to the yellow color frame at the back layer.

I hope you understand, I’m apologize Im not good at English

1 Like

I want to clone the blue background color of my image from the local script automatically and set it to the yellow color frame at the back layer

1 Like

yeah i dont think you’re able to do that automatically
Why are you overcomplicating it anyway? Just make the color change based on the reward

1 Like

Thanks, I making this overcomplicating because the image is automatic generated from the script and I don’t want to manually change it by myself. If the image has been changed I will need to change the color and update the game.

1 Like

well theres no other way around it i guess

1 Like

Open your image on the paint software on your computer, then use the pick screen color feature on the blue color, click on ā€œedit colorsā€, then on the color edit frame there should be the ā€œRGBā€ infos about it, just put the same settings on your frame Gui.

If the in-game frame color have to change in real time depending of the image, just put each image and its related color into a table, and then when selecting the image, get the color at same time and change it.

Currently theres no way to get an image color from an IMAGE.
Until unless you have your own backend (server) setted up.

1 Like

Am I a joke to you?

2 Likes

I don’t think its out for public yet? its still in beta.
so ā€œcurrentlyā€ theres no way to achieve that.

1 Like

That is true, it’s not out for the public, but when it will be out then, well, this would work. And you said: ā€œthere is no wayā€ so technically there is a way but its not viable.

2 Likes

Well I do say currently (which represents present) tho, but anyways yeah maybe we gotta wait few more weeks for editable image to come out of beta.

1 Like