TextMeshPro.color

Color32 color;

Description

The default vertex color assigned to each character. Note: Color tags will override this default color unless overrideColorTags is set to true.


using UnityEngine;
using System.Collections;
using TMPro;

public class ExampleClass : MonoBehaviour
{
    void Awake()
    {
        TextMeshPro textmeshPro = GetComponent<TextMeshPro>();
        textmeshPro.color = new Color32(255, 128, 0, 255);
    }    
}