private Color parseColor( Token token ) {
		return parsedColorsMap.computeIfAbsent( token.getLexeme(), s -> {
			try {
				return new Color( UIDefaultsLoaderAccessor.parseColorRGBA( s ), true );
			} catch( IllegalArgumentException ex ) {
				return null;
			}
		} );

	}
A text area that supports editing FlatLaf themes.

@author Karl Tauber
flatlaf-theme-editor/src/main/java/com/formdev/flatlaf/themeeditor/FlatSyntaxTextArea.java