R

G

B

R

G

B

MR: (0, 0)
MG: (5, 0)
r: 3.8
MB: (2.5, (2.5 * sqrt(3)))
pR = 1 (slider from 0 to 1, step 0.01)
pG = 1 (slider from 0 to 1, step 0.01)
pB = 1 (slider from 0 to 1, step 0.01)
Text1: "(r, g, b) = (" + (LaTeX[pR]) + ", " + (LaTeX[pG]) + ", " + (LaTeX[pB]) + ")"
bR: floor((pR * 255))
bG: floor((pG * 255))
bB: floor((pB * 255))
Text2: "(R, G, B) = (" + (LaTeX[bR]) + "," + (LaTeX[bG]) + "," + (LaTeX[bB]) + ")"
vrgb: {{pR}, {pG}, {pB}}
Text7: "" + pR + ""
Text8: "" + pG + ""
Text9: "" + pB + ""
SKGKR(x, y) = (x - x(MR))^(2) + (y - y(MR))^(2) < r^(2) ∧ (x - x(MG))^(2) + (y - y(MG))^(2) < r^(2)
SKRKB(x, y) = (x - x(MR))^(2) + (y - y(MR))^(2) < r^(2) ∧ (x - x(MB))^(2) + (y - y(MB))^(2) < r^(2)
SKGKB(x, y) = (x - x(MB))^(2) + (y - y(MB))^(2) < r^(2) ∧ (x - x(MG))^(2) + (y - y(MG))^(2) < r^(2)
KR(x, y) = (x - x(MR))^(2) + (y - y(MR))^(2) < r^(2)
KG(x, y) = (x - x(MG))^(2) + (y - y(MG))^(2) < r^(2)
KB(x, y) = (x - x(MB))^(2) + (y - y(MB))^(2) < r^(2)
SKRKGKB(x, y) = (x - x(MR))^(2) + (y - y(MR))^(2) < r^(2) ∧ (x - x(MG))^(2) + (y - y(MG))^(2) < r^(2) ∧ (x - x(MB))^(2) + (y - y(MB))^(2) < r^(2)
vRGB: {{bR}, {bG}, {bB}}
Text6: "\vec{v}_{rgb} = " + (LaTeX[vrgb]) + ""
Text10: "\vec{v}_{RGB} = " + (LaTeX[vRGB]) + ""