How do I stop color table spam?

I’m trying to code a loadout vgui in which you can choose your own color. I’ve been using a combination of DColorCircle and DNumberWang along with DColouredBox to show the color. It works perfectly except that whenever I change the color through the DColorCircle I get massive console spam with stuff like this:



RGB: 59/70/255
Hue: 234.05788812862
Saturation: 0.77197620793973
RGB: 58/77/255
Hue: 231.51980175166
Saturation: 0.77843241919257
RGB: 56/84/255
Hue: 225.8069294551
Saturation: 0.78452438816457
RGB: 54/102/255
Hue: 223.40885972881
Saturation: 0.79580197364043

I don’t know why it’s printing the values to the console, I don’t have anything that prints in my code.
[lua]
local clrc = vgui.Create( “DColorCircle”, picframe )
clrc:SetPos( 20, 60 )
clrc:SetSize( 128, 128 )
clrc:SetVisible(false)

local clrb= vgui.Create( "DColouredBox", picframe )
clrb:SetPos( 250, 35 )
clrb:SetSize( 135, 180 )
clrb:SetColor( Color( 255, 255, 255))
clrb:SetVisible(false)

local Rlabel = vgui.Create( "DLabel", picframe )
Rlabel:SetPos(170, 60 )
Rlabel:SetColor(Color(255, 255, 255, 255 ))
Rlabel:SetFont("Trebuchet22")
Rlabel:SetText("R:")
Rlabel:SizeToContents()
Rlabel:SetVisible(false)

local Glabel = vgui.Create( "DLabel", picframe )
Glabel:SetPos(170, 110 )
Glabel:SetColor(Color(255, 255, 255, 255 ))
Glabel:SetFont("Trebuchet22")
Glabel:SetText("G:")
Glabel:SizeToContents()
Glabel:SetVisible(false)

local Blabel = vgui.Create( "DLabel", picframe )
Blabel:SetPos(170, 160 )
Blabel:SetColor(Color(255, 255, 255, 255 ))
Blabel:SetFont("Trebuchet22")
Blabel:SetText("B:")
Blabel:SizeToContents()
Blabel:SetVisible(false)

local cR = vgui.Create( "DNumberWang", picframe )
cR:SetPos( 190, 60 )
cR:SetSize( 35, 25 )
cR:SetMax(255)
cR:SetValue( 255 )
cR:SetDecimals(0)
cR:SetVisible(false)

local cG = vgui.Create( "DNumberWang", picframe )
cG:SetPos( 190, 110 )
cG:SetSize( 35, 25 )
cG:SetMax(255)
cG:SetValue( 255 )
cG:SetDecimals(0)
cG:SetVisible(false)

local cB = vgui.Create( "DNumberWang", picframe )
cB:SetPos( 190, 160 )
cB:SetSize( 35, 25 )
cB:SetMax(255)
cB:SetValue( 255 )
cB:SetDecimals(0)
cB:SetVisible(false)

clrc.OnCursorEntered = function()
    pvar = true
end

clrc.OnCursorExited = function()
    pvar = false
end

clrc.Paint = function()
    if pvar == true and clrc:GetRGB() != nil then
        clrb:SetColor(Color(clrc:GetRGB()["r"],clrc:GetRGB()["g"],clrc:GetRGB()["b"]))
        cR:SetValue(clrc:GetRGB()["r"])
        cG:SetValue(clrc:GetRGB()["g"])
        cB:SetValue(clrc:GetRGB()["b"])
        Pclr = (Color(cR:GetValue(), cG:GetValue(), cB:GetValue(), 200))
    end
end

cR.OnValueChanged = function()
    clrb:SetColor(Color(cR:GetValue(),cG:GetValue(),cB:GetValue()))
    Pclr = (Color(cR:GetValue(), cG:GetValue(), cB:GetValue(), 200))
end

cG.OnValueChanged = function()
    clrb:SetColor(Color(cR:GetValue(),cG:GetValue(),cB:GetValue()))
    Pclr = (Color(cR:GetValue(), cG:GetValue(), cB:GetValue(), 200))
end

cB.OnValueChanged = function()
    clrb:SetColor(Color(cR:GetValue(),cG:GetValue(),cB:GetValue()))
    Pclr = (Color(cR:GetValue(), cG:GetValue(), cB:GetValue(), 200))
end

[/lua]
I didn’t put down all of it, thanks in advanced.

-snip-

-snip- wrong thread

bump - can anyone help me?? its eating up my console space.