@Test
public void testRgbColorParsing() {

  assertThat(parseTtmlColor("rgb(255,255,255)")).isEqualTo(WHITE);
  // Spaces are ignored.
  assertThat(parseTtmlColor("   rgb (      255, 255, 255)")).isEqualTo(WHITE);
}