Actions132
- AI Actions
- Extract Text From Document
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Extract Entities
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate JavaScript Code
- Generate Python Code
- Detect Language
- Detect Mood
- Extract Text From PDF
- Recognize Objects in Image
- Extract Text From Image
- Redact Sensitive Information From PDF
- Remove Background Image
- Summarize Text
- Transcribe
- Translate Text
- Image Actions
- Business Actions
- Convert Actions
- Generate Actions
- Crypto Actions
- Operator Actions
- Storage Actions
- Scheduler Actions
- Text Actions
- Chart Actions
- Code Actions
- Calculate Actions
- Date and Time Actions
- PDF Actions
- Compress PDF File
- Count PDF Pages
- Create Empty PDF
- Decrypt PDF
- Convert DOCX to PDF
- Draw Image on PDF
- Draw Text on PDF
- Encrypt PDF
- Convert HTML to PDF
- Convert Markdown to PDF
- Manage PDF Metadata
- Merge PDF Files
- Add PDF Pages
- Remove PDF Pages
- Resize PDF Pages
- Rotate PDF Pages
- Convert PDF to Base64
- Convert PDF to Image
- Split PDF File
- Add Image Watermark to PDF
- Add Text Watermark to PDF
- Shortened URL Actions
Generate → Color
AI-generatedOverview
The node "0CodeKit" provides a collection of no-code utility tools grouped under various resources. The "Generate" resource with the "Color" operation specifically generates a color value in a user-specified format. This is useful when you need to programmatically create colors for design, theming, or visualization purposes without manually picking or coding color values.
For example, you can use this node to generate random colors in HEX, RGB, or HSL formats to dynamically style UI elements, charts, or graphics in your workflow.
Properties
| Name | Meaning |
|---|---|
| Format | The color format to generate. Options are: HEX (hexadecimal color code), RGB (red-green-blue), and HSL (hue-saturation-lightness). |
Output
The node outputs JSON data containing the generated color value in the requested format. The exact structure is not explicitly shown in the source, but it will include at least one field representing the color string in the chosen format (HEX, RGB, or HSL).
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authentication to the external 0CodeKit service.
- The node sends a POST request to the endpoint
/generate/colorwith the selected color format in the request body. - The base URL for requests is
https://prod.0codekit.com. - Proper network access and valid credentials are necessary for successful execution.
Troubleshooting
- Common issues:
- Invalid or missing API key credential will cause authentication failures.
- Network connectivity problems may prevent reaching the external API.
- Providing an unsupported format value (outside HEX, RGB, HSL) could lead to errors or unexpected results.
- Error messages:
- Authentication errors typically indicate invalid or missing API credentials; verify and re-enter the API key.
- HTTP errors such as 4xx or 5xx suggest issues with the request or server; check the format parameter and retry.
- Timeout or connection errors imply network issues; ensure internet connectivity and that the API endpoint is reachable.
Links and References
- 0CodeKit API Documentation (assumed base URL, consult actual docs for details)
- Color format references:
This summary is based on static analysis of the provided source code and property definitions.