I would like to use some icons that are not available in Font Awesome 5. The template I'm using uses \color to apply a colour to a font awesome icon, and it would be nice if the same command could be used to colourise an SVG image.
Here's my test document
\documentclass[11pt]{article}
% Packages
\usepackage{xcolor}
\usepackage{graphicx}
% Document
\begin{document}
\color{red}
\includegraphics[scale=0.3]{kotlin}
\includegraphics{graphql}
\includegraphics{go}
\includegraphics{ts-logo-128}
\end{document}
And here's a screenshot of the resulting PDF.

In the comments, I've been advised to try following the answer here, after using inkscape to generate a PDF from the SVG file.
However, when I run
pdftk kotlin.pdf output kotlin-unc.pdf uncompress
sed 's/0.0.0.[rR][gG]/ /g' < kotlin-unc.pdf > kotlin-final.pdf
I get sed: RE error: illegal byte sequence. I am uncertain how to fix this.
[Original SVG files]{https://drive.google.com/drive/folders/1H6dSeMZq-AmV4mZ9cS7uFd1Qux-S0G0J?usp=drive_link} [Inkscape exported PDF files]{https://drive.google.com/drive/folders/13lzL77KTuBDJOpI8uuV77T1P74CMvliT?usp=drive_link}
brew install gnu-sedand then doing/opt/homebrew/opt/gnu-sed/libexec/gnubin/sed 's/0.0.0.[rR][gG]/ /g' < star2.pdf > star3.pdfworked fine for me https://i.stack.imgur.com/NVWdW.png – samcarter_is_at_topanswers.xyz Oct 24 '23 at 13:46