Problem with ripgrep colours in search results

I think a couple of screenshots are more useful than my words.

This is the result I get by using:

(setq helm-grep-ag-command
        "rg --color=never --smart-case --no-heading --line-number %s %s %s")

1

And this is the result I get by using:

(setq helm-grep-ag-command
        "rg --color=always --smart-case --no-heading --line-number %s %s %s")

2

Ideally, when I search for \(dired the colours should be similar to these: 3

Note that I am running a custom command, but you get the same results if you use helm-do-grep-ag.

Edited by Manuel Uberti