How does one make an rgb color more pale

So to start off, I BARELY KNOW ANYTHING ABOUT RGB this is mainly the reason why i’ve made this post
i’d like it if someone gave me an explanation of how to make a color more pale, every single attempt i’ve made results in a completely different color, for example: grey turns to purple, persimmon turns to green, you get the idea.

1 Like
  • For shades, multiply each component by 1/4, 1/2, 3/4, etc., of its previous value. The smaller the factor, the darker the shade.

taken straight from google, thats exactly what i did earlier (plus doesnt even work)

local Color = Color3.new(...)
local H, S, V = Color:ToHSV()

local Factor = ...
local Pale = Color3.fromHSV(H, S * Factor, V)
Example of how changing Saturation affects the color.
for i = 0, 20 do
	local Color = Color3.new(0, 0, 1)
	local H, S, V = Color:ToHSV()

	local Factor = i / 20
	local Pale = Color3.fromHSV(H, S * Factor, V)
	
	local Part = Instance.new("Part")
	
	Part.Anchored = true
	Part.Color = Pale
	Part.Size = Vector3.new(1, 1, 1)
	Part.CFrame = CFrame.new(i, 0, 0)
	Part.Parent = workspace
end

Example of how changing Saturation and Value affect the color.
for i = 0, 20 do
	for j = 0, 20 do
		local Color = Color3.new(0, 0, 1)
		local H, S, V = Color:ToHSV()

		local Factor = i / 20
		local Factor2 = j / 20
		
		local Pale = Color3.fromHSV(H, S * Factor, V * Factor2)
		
		local Part = Instance.new("Part")
		
		Part.Anchored = true
		Part.Color = Pale
		Part.Size = Vector3.new(1, 1, 1)
		Part.CFrame = CFrame.new(i, j, 0)
		Part.Parent = workspace
	end
end

image

Example of how changing Saturation, Value, and Hue affects the color.
for i = 0, 20 do
	for j = 0, 20 do
		for k = 0, 20 do
			local Color = Color3.new(0, 0, 1)
			local H, S, V = Color:ToHSV()

			local Factor = i / 20
			local Factor2 = j / 20
			local Factor3 = k / 20
			
			local Pale = Color3.fromHSV(H * Factor3, S * Factor, V * Factor2)
			
			local Part = Instance.new("Part")
			
			Part.Anchored = true
			Part.Color = Pale
			Part.Size = Vector3.new(1, 1, 1)
			Part.CFrame = CFrame.new(i, j, k)
			Part.Parent = workspace
		end
	end
end

8 Likes

thanks alot, also happy aniversary to you