I tried the proposed way of assigning colors, but it gives grey font regardless of the rgb values.
from sty import fg, bg, ef, rs, Rule, Render
fg.orange = Rule(Render.rgb_fg, 15, 15, 15)
print(fg.orange, end="")
print("aaa")
print(rs.all, end="")

As seen in the picture, this line:
b = bg(50, 255, 50) + 'Text with green bg' + rs.bg # select a 24bit rgb color directly.
also doesn't work and changes font color to grey.
I tried the proposed way of assigning colors, but it gives grey font regardless of the rgb values.
from sty import fg, bg, ef, rs, Rule, Renderfg.orange = Rule(Render.rgb_fg, 15, 15, 15)print(fg.orange, end="")print("aaa")print(rs.all, end="")As seen in the picture, this line:
b = bg(50, 255, 50) + 'Text with green bg' + rs.bg # select a 24bit rgb color directly.also doesn't work and changes font color to grey.