AssistantApiCoreTypesColor

AI Overview😉

  • The potential purpose of this module is to analyze and understand the color palette used on a webpage, which could be used to determine the visual appeal, accessibility, and overall user experience of the site.
  • This module could impact search results by influencing how Google ranks websites based on their visual design and user experience. Websites with a well-designed color scheme, good contrast, and accessibility features may be ranked higher than those with poor visual design.
  • To be more favorable for this function, a website could ensure that its color scheme is well-designed, accessible, and follows best practices for visual design. This could include using a clear and consistent color scheme, providing sufficient contrast between text and background, and ensuring that the website is accessible to users with color vision deficiency.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesColor (google_api_content_warehouse v0.4.0)

Represents a color in the RGBA color space. This message mirrors google.type.Color.

Attributes

  • alpha (type: number(), default: nil) - The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: pixel color = alpha (this color) + (1.0 - alpha) (background color) This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. If omitted, this color object is to be rendered as a solid color (as if the alpha value had been explicitly given with a value of 1.0).
  • blue (type: number(), default: nil) - The amount of blue in the color as a value in the interval [0, 1].
  • green (type: number(), default: nil) - The amount of green in the color as a value in the interval [0, 1].
  • red (type: number(), default: nil) - The amount of red in the color as a value in the interval [0, 1].

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesColor{
  alpha: number() | nil,
  blue: number() | nil,
  green: number() | nil,
  red: number() | nil
}

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.