The extension “read pixels” will give you the RGB values (along with alpha) which you can combine into the string “red value;green value; blue value” like “222;123;0”
This would get the color at the cursor.
Once the extension is installed, in the expressions section