Duotone Editor

SVG Filter

<img src="./image.jpg" style="filter: url(#duotone);">

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 0 0" focusable="false"
  role="none" style="visibility: hidden; position: absolute; left: -9999px;">
  <defs>
    <filter id="duotone">
      <feColorMatrix type="matrix" values="
          .299 .587 .114 0 0
          .299 .587 .114 0 0
          .299 .587 .114 0 0
          0 0 0 1 0
        "></feColorMatrix>
      <feComponentTransfer color-interpolation-filters="sRGB">
        <feFuncR type="table" tableValues=""></feFuncR>
        <feFuncG type="table" tableValues=""></feFuncG>
        <feFuncB type="table" tableValues=""></feFuncB>
      </feComponentTransfer>
    </filter>
  </defs>
</svg>