The best I found is this which mixes 2 colors but not what I had expected HTML Color Mixer
I want like Blue + Yellow = green but in this website it shows grey
Any help?
The best I found is this which mixes 2 colors but not what I had expected HTML Color Mixer
I want like Blue + Yellow = green but in this website it shows grey
Any help?
I did bit of googling, and found this tool that works pretty well.
https://meyerweb.com/eric/tools/color-blend
It allows you to work with RGB if you like, and even provides a number of minpoints option.
The reason this is happening is because you’re creating a gradient, not actually mixing them.
I’ve made this little script for you, however the downside is that it uses HSV, not RGB. I am not too sure how RGB would work as it doesn’t have an individual brightness and saturation value, however this function should mix two hues as you liked.
local colorOne = {
H = 0.1495,
S = 0.960739,
V = 0.998199
}
local colorTwo = {
H = 0.666667,
S = 1,
V = 0.998199
}
local GlobalH = function()
local tc
if colorOne.H < colorTwo.H then
tc = colorTwo.H - colorOne.H
else
tc = colorOne.H - colorTwo.H
end
return tc
end
local Mixed = Color3.new(
GlobalH,
1,
0.5
)
game.StarterGui.ScreenGui.Frame.BackgroundColor3 = Mixed
Just noticed the indenting, apologies for that. You can fix it in this tab here.
Never seen that option before… I had to use Lua beautifier site, anyways thanks now it shows green from blue+yellow!
Sorry btw why is it showing decimal values?
Example HSV from Really blue is 240,255,255
does it have to be divided by 255?
No, that’s RGB, HSV is hue, saturation, value (brightness), whereas RGB is red, green, blue.
It shows HSV 240,255,255
Hmmm, that’s weird. Do you have a colour picker options in the script editor when you type Color3.fromHSV()
?
I dont know what you mean script editor and I never used Color3.fromHSV only
Color3.fromRGB() this is the first time I use HSV
Like, create a new script, and then type Color3.fromHSV()
into that text box, and then under it, do you see any icons below it?
Yeah, press the colour wheel, and you can select your HSV from there. You should see it switches to decimals.
That worked, well now in the future I have to manually check this script editor and hopefully Roblox notices this bug because for now I can’t report it to them
Yeah, sorry about that. I’m not too sure what the formula is to go from HSV to RGB.