Rot

Grün

Blau

Dualzahlen

Hexadezimalzahlen

Mischfarbe

A = (3.316932502399748, 0.7699603723647184)
R = 3.5 (slider from -5 to 5)
r = Circle(A, R)
B = (10.607601316514815, 0.6581464101520627)
g = Circle(B, R)
dgr(x, y) = (x - x(A))^(2) + (y - y(A))^(2) ≤ R^(2) ∧ (x - x(B))^(2) + (y - y(B))^(2) ≤ R^(2)
C = (18.41713609280455, 0.5098154478289402)
b = Circle(C, R)
dbg(x, y) = (x - x(C))^(2) + (y - y(C))^(2) ≤ R^(2) ∧ (x - x(B))^(2) + (y - y(B))^(2) ≤ R^(2)
dbr(x, y) = (x - x(A))^(2) + (y - y(A))^(2) ≤ R^(2) ∧ (x - x(C))^(2) + (y - y(C))^(2) ≤ R^(2)
drgb(x, y) = (x - x(A))^(2) + (y - y(A))^(2) ≤ R^(2) ∧ (x - x(B))^(2) + (y - y(B))^(2) ≤ R^(2) ∧ (x - x(C))^(2) + (y - y(C))^(2) ≤ R^(2)
sr = 142 (slider from 0 to 255, step 1)
fr: sr / 255
sg = 142 (slider from 0 to 255, step 1)
fg: sg / 255
sb = 144 (slider from 0 to 255, step 1)
fb: sb / 255
f_2(x) = floor(x / 2)
dr = Reverse(Sequence[Mod[Element[IterationList[f_2, sr, 8], i], 2], i, 1, 8])
Text1: "Dualzahl=" + dr + "_2"
dg = Reverse(Sequence[Mod[Element[IterationList[f_2, sg, 8], i], 2], i, 1, 8])
Text2: "Dualzahl=" + dg + "_2"
db = Reverse(Sequence[Mod[Element[IterationList[f_2, sb, 8], i], 2], i, 1, 8])
Text3: "Dualzahl=" + db + "_2"
f_{16}(x) = floor(x / 16)
hr = Reverse(Sequence[Mod[Element[IterationList[f_{16}, sr, 2], i], 16], i, 1, 2])
hg = Reverse(Sequence[Mod[Element[IterationList[f_{16}, sg, 2], i], 16], i, 1, 2])
hb = Reverse(Sequence[Mod[Element[IterationList[f_{16}, sb, 2], i], 16], i, 1, 2])
a: dr(1)
hb1 = If(hb(1) > 9, UnicodeToLetter[55 + hb(1)], UnicodeToLetter[48 + hb(1)])
hr1 = If(hr(1) > 9, UnicodeToLetter[55 + hr(1)], UnicodeToLetter[48 + hr(1)])
hg1 = If(hg(1) > 9, UnicodeToLetter[55 + hg(1)], UnicodeToLetter[48 + hg(1)])
hb2 = If(hb(2) > 9, UnicodeToLetter[55 + hb(2)], UnicodeToLetter[48 + hb(2)])
hg2 = If(hg(2) > 9, UnicodeToLetter[55 + hg(2)], UnicodeToLetter[48 + hg(2)])
hr2 = If(hr(2) > 9, UnicodeToLetter[55 + hr(2)], UnicodeToLetter[48 + hr(2)])
L_r: {hr1, hr2}
L_b: {hb1, hb2}
L_g: {hg1, hg2}
Blau = Sum(L_b)
Grün = Sum(L_g)
Rot = Sum(L_r)
LRGB: {hr1, hr2, hg1, hg2, hb1, hb2}
RGB = Sum(LRGB)
Text4: "Hexdezimalzahl: " + hr + "_{16}=#" + Rot + ""
Text5: "Hexadezimalzahl=" + hg + "_{16}=#" + Grün + ""
c = false
d = false
Text6: "Hexadezimalzahl=" + hb + "_{16}=#" + Blau + ""
Text7: "Mischfarbe=#" + RGB + ""
e = false