Checkpoint
This commit is contained in:
6
color.cc
6
color.cc
@@ -6,8 +6,8 @@ std::ostream& operator<<(std::ostream& os, const Color& color) {
|
||||
return os
|
||||
<< std::hex << std::setfill('0')
|
||||
<< "rgb("
|
||||
<< "0x" << std::setw(4) << color.r << ", "
|
||||
<< "0x" << std::setw(4) << color.g << ", "
|
||||
<< "0x" << std::setw(4) << color.b
|
||||
<< "0x" << std::setw(4) << color.at(0) << ", "
|
||||
<< "0x" << std::setw(4) << color.at(1) << ", "
|
||||
<< "0x" << std::setw(4) << color.at(2)
|
||||
<< ")" << std::dec;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user