public TextLayoutBuilder setTextColor(@Nullable ColorStateList colorStateList) {
    mParams.createNewPaintIfNeeded();
    mParams.color = colorStateList;
    mParams.paint.setColor(mParams.color != null ? mParams.color.getDefaultColor() : Color.BLACK);
    mSavedLayout = null;
    return this;
  }
Sets the text color for the layout.

@param colorStateList The text color state list for the layout
@return This {@link TextLayoutBuilder} instance
library/src/main/java/com/facebook/fbui/textlayoutbuilder/TextLayoutBuilder.java