1<?php 2declare(strict_types = 1); 3 4namespace BaconQrCode\Renderer\Color; 5 6interface ColorInterface 7{ 8 /** 9 * Converts the color to RGB. 10 */ 11 public function toRgb() : Rgb; 12 13 /** 14 * Converts the color to CMYK. 15 */ 16 public function toCmyk() : Cmyk; 17 18 /** 19 * Converts the color to gray. 20 */ 21 public function toGray() : Gray; 22} 23