Class RgbColor

Rgb색상

빨간색, 초록색, 파란색 색상 채널로 정의된 색상입니다.

메서드

메서드반환 유형간략한 설명
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