generate functionMon, 06 Mar 2023

<svg viewBox="0 0 29 29" {...props}> <g fillRule="evenodd"> <circle cx="14.5" cy="14.5" r="14.5" fill="#F34910"/> <path fill="#C33D11" d="M13 9h3v11h-3z"/> <path fill="#C33D11" d="M20 13v3H9v-3z"/> </g> </svg> color this svg circle with rgb(74, 0, 255)

class RgbColor { constructor(red: number, green: number, blue: number) { this.red = red; this.green = green; this.blue = blue; } public red: number; public green: number; public blue: number; } const color = new RgbColor(74, 0, 255);

TypeScript
Generate More

Questions about programming?Chat with your personal AI assistant