Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

108
Vistas
What color format is pdf-lib using?

What color format is pdf-lib using? Writing rgb(156, 132, 678) or cmyk(157, 145, 124, 135) throws an error where all number values must be between 0 and 1.

How do I convert standard rgb, ie. 0-255 to whatever format this is?

The docs give me the TypeScript definitions of the function but no explanations.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Documentation gives an example like this color: rgb(0.95, 0.1, 0.1). Dividing by 255 is likely the solution.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda