--- loncom/homework/edit.pm 2001/05/13 21:40:32 1.6 +++ loncom/homework/edit.pm 2001/05/15 20:48:43 1.7 @@ -11,7 +11,9 @@ sub tag_start { my $result=''; if ($target eq "edit") { my $tag=$token->[1]; - $result.=" +# my $color = sprintf("#%06lx",(hex("ffffff")) >> scalar(split(/_/,$Apache::lonxml::curdepth))); + my $color = sprintf("#%02lxffff",33* scalar(split(/_/,$Apache::lonxml::curdepth))); + $result.="
<$tag>
<$tag> Delete: