VOOZH about

URL: https://www.geeksforgeeks.org/html/svg-tablevalues-attribute/

⇱ SVG tableValues Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

SVG tableValues Attribute

Last Updated : 3 May, 2022

The tableValues attribute declares a list of numbers. These numbers are defining a lookup table of values for a color component transfer function. The elements that are using this attribute includes: <feFuncA>, <feFuncB>, <feFuncG>, and <feFuncR>.

Syntax:

tableValues = "list-of-numbers"

Attribute Values: The tableValues attribute accepts the values mentioned above and described below

  • list-of-numbers: It holds a comma-separated or/and space-separated list of number/numbers, which declares a lookup table for the color component transfer function. Each number can be between 0 and 1.

Below examples illustrate the use of the tableValues attribute.

Example 1:

Output:

👁 Image

Example 2:

Output:

👁 Image

Comment