I get the following exception when calling dcss_color with relationship "complement":

Exception: cannot convert hex '#aaa' to RGB, hex2RGB, 231 in CSS_Color->raiseError() (line 444 of /sites/all/modules/dcss/plugins/csscolor.php).

This is because the 3 character color #aaa cannot be converted by hex2RGB.

The function RGB2HEX in color_converter.class is responsible for this:

if(($Rh1==$Rh2) && ($Gh1==$Gh2) && ($Bh1==$Bh2)) {
				return '#'.$Rh1.$Gh1.$Bh1;
			} else {
				return '#'.$Rh.$Gh.$Bh;
}

Why not return always 6 characters?