Using this module since it’s appearance in git master, having processed hundrets of negatives, I can assure: this is a fantastic peace of software!
Aurelien Pierre (the author) published a video (inverting photos of color negatives with darktable - #75 by anon41087856) about the module. It is strongly recommended to watch this video first.
You have to enter the RGB values in hexadecimal coding : #RRGGBB. To convert from decimal to hexadecimal you may want to use Decimal to Hexadecimal Converter