Topic: Color Picker - get value in hex format

enviaya pro asked 4 years ago


Hi,

How can I change format of color I chose? Currently when I choose color and press save button I get color as rgba.

Best regards, Enviaya


Mikołaj Smoleński staff answered 4 years ago


Save button emits two events:

  • getValue returns currentColor in RGBA
  • getLabel returns label which depends on the chosen colorspace

I guess the second event returns what You expect to get.

Best regards


enviaya pro commented 4 years ago

Thank you, @Mikołaj Smoleński I will try.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.7.1
  • Device: Laptop
  • Browser: Chrome
  • OS: Mac OS
  • Provided sample code: No
  • Provided link: No