To edit the color of an SVG icon in Ycode, select the SVG element and change the color.