I can't change color of bitmap font

Godot Version

4.5

Question

Hi uhm so, im doing a menu where you have various buttons, managed to add buttons via code so later i can custom the button’s text but my main problem right now is that i cant change the color of my button font, im trying with the “normal“ state font color, and it works while i have the default font. When I use my custom font, a bitmapfont that already imported, it just keeps the original image color (black). I tried to change the color of that font and hadn’t luck with buttons of any state, labels, richtext labels, so im thinking it may be a problem of my image? And here its how i create the buttons, maybe the problem is here, honestly I cant find any info about my problem

My image of the font is png, black and transparent, and it works as a font but the only thing is that it doesnt change color

extends Control

var color_texto_normal : Color = Color(1, 1, 1, 1)
@export var font : FontFile
@export var panel_texto : VBoxContainer

func _ready():
	_add_button("Texto")

func _add_button(text):
	var button = Button.new()
	button.text = text
	button.add_theme_font_override("font", font)
	button.add_theme_color_override("font_color", color_texto_normal)
	button.alignment = 0

	panel_texto.add_child(button)

You need to make your bitmap font white. Changing the color of the font only modulates it (aka it multiplies the original color with the color you want) and black is all 0.

Omg thank youuuu 839uewjeoru84 :’333