0xbc, 'g' => 0x39, 'b' => 0x6c], ColorUtils::intToRgb(12335468)); } #[\PHPUnit\Framework\Attributes\Group('framework')] #[\PHPUnit\Framework\Attributes\TestDox('Rgb can be converted to a integer')] public function testRgbToInt() : void { self::assertEquals(12335468, ColorUtils::rgbToInt(['r' => 0xbc, 'g' => 0x39, 'b' => 0x6c])); } }