Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Graphics-Color CPAN distribution.

Report information
The Basics
Id: 44764
Status: resolved
Priority: 0/
Queue: Graphics-Color

Owner: Nobody in particular
Requestors: groditi [...]

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)

Subject: as_hex_string generates innaccurate values for colors with a zero value for r g or b
Download (untitled) / with headers
text/plain 299b
perl -MGraphics::Color::RGB -e'print Graphics::Color::RGB->new( blue => 0, red => .5, green => 0)->as_hex_string' produces #7f00 instead of '7f0000' I know 7f00 is technically still parseable, but it would be much better if it consistently generated a six digit string composed of 2-digit triplets
Also fixed, never closed.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to