Class RgbColor

RgbColor

빨간색, 녹색, 파란색 색상 채널로 정의되는 색상입니다.

방법

메서드반환 유형간략한 설명
asHexString()String색상을 CSS 스타일 7자리 16진수 문자열(#rrggbb)로 반환합니다.
getBlue()Integer이 색상의 파란색 채널로, 0~255 사이의 숫자입니다.
getColorType()ColorType이 색상의 유형을 가져옵니다.
getGreen()Integer이 색상의 녹색 채널로, 0~255 사이의 숫자입니다.
getRed()Integer이 색상의 빨간색 채널로, 0~255 사이의 숫자입니다.

자세한 문서

asHexString()

색상을 CSS 스타일 7자리 16진수 문자열(#rrggbb)로 반환합니다.

리턴

String

승인

이 방법을 사용하는 스크립트는 다음 범위 중 하나 이상을 승인해야 합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

getBlue()

이 색상의 파란색 채널로, 0~255 사이의 숫자입니다.

리턴

Integer

승인

이 방법을 사용하는 스크립트는 다음 범위 중 하나 이상을 승인해야 합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

getColorType()

이 색상의 유형을 가져옵니다.

리턴

ColorType

승인

이 방법을 사용하는 스크립트는 다음 범위 중 하나 이상을 승인해야 합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

getGreen()

이 색상의 녹색 채널로, 0~255 사이의 숫자입니다.

리턴

Integer

승인

이 방법을 사용하는 스크립트는 다음 범위 중 하나 이상을 승인해야 합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

getRed()

이 색상의 빨간색 채널로, 0~255 사이의 숫자입니다.

리턴

Integer

승인

이 방법을 사용하는 스크립트는 다음 범위 중 하나 이상을 승인해야 합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations